What’s Vulnerable › Vulnerabilities

CVE-2026-87819: GitPython before 3.1.60 Denial of Service via ReDoS

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 products

How to fix

Upgrade to a fixed version: gitpython-developers GitPython 3.1.60. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-87819 or the next vulnerability affects your stack