PYSEC-2026-3984

At a glance

Published
Updated
CVE
CVE-2026-87819
Aliases
GHSA-g5vv-9gxw-82hx
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Description

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.

Affected packages

PackageVersions
PyPI · gitpythonintroduced 0, fixed 3.1.60

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database