Advisory

PYSEC-2026-3984

Also known as: CVE-2026-87819, GHSA-g5vv-9gxw-82hx

Summary

The record has no summary.

Details

GitPython before 3.1.60 contains a regular expression denial of service vulnerability in Actor.name_email_regex that processes commit author and committer fields. Attackers can craft a commit object with a malformed author field containing an unterminated angle bracket to cause quadratic backtracking, exhausting CPU resources for over two minutes per commit access.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2026-09-09 12:17 UTC
Modified
2026-09-17 09:00 UTC

Affected packages and fixes

gitpython

PyPI · All systems

Affected

  • introduced 0, fixed 3.1.60 (ecosystem)

Fixed versions

3.1.60

Fix

  • Fixed version 3.1.60
    pip install --upgrade gitpython==3.1.60

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences