CVE-2026-87819
GitPython before 3.1.60 contains a regular expression denial of …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/gitpython-developers/GitPython/security/advisories/GHSA-g5vv-9gxw-82hx
- www.vulncheck.com/advisories/gitpython-before-3.1.60-denial-of-service-via-redos
- github.com/gitpython-developers/GitPython/pull/2215
- github.com/gitpython-developers/GitPython/commit/751473a5f3221d6f989291cbebcc404353fd3ba8
- github.com/gitpython-developers/GitPython/releases/tag/3.1.60
- github.com/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2026-3984.yaml
- github.com/advisories/GHSA-g5vv-9gxw-82hx
- nvd.nist.gov/vuln/detail/CVE-2026-87819
- cve.org/CVERecord?id=CVE-2026-87819
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.