# PYSEC-2026-3984: 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

- Database: PyPA
- Published: 2026-09-09
- Modified: 2026-09-17

## Tracked as

- [CVE-2026-87819](https://cve.now/CVE-2026-87819.md): GitPython before 3.1.60 Denial of Service via ReDoS

## Also published as

- [GHSA-G5VV-9GXW-82HX](https://cve.now/GHSA-G5VV-9GXW-82HX.md) (GitHub)

## Affected versions

- gitpython (PyPI): fixed in 3.1.60

## 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.

## References

- https://www.vulncheck.com/advisories/gitpython-before-3.1.60-denial-of-service-via-redos
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-g5vv-9gxw-82hx

Page: https://cve.now/PYSEC-2026-3984

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
