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

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-09T11:21:05.360Z
- Modified: 2026-10-08T15:25:57.646Z
- Also known as: GHSA-g5vv-9gxw-82hx, PYSEC-2026-3984
- Weaknesses: CWE-400, CWE-1333
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- gitpython-developers GitPython: before 3.1.60 (not affected: 3.1.60)
- gitpython (PyPI): before 3.1.60
- gitpython_project gitpython: before 3.1.60

## Every score

- VulnCheck: CVSS:4.0 8.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-g5vv-9gxw-82hx> (exploit, evidence, mitigation, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/gitpython-before-3.1.60-denial-of-service-via-redos> (advisory, third-party-advisory, web)
- <https://github.com/gitpython-developers/GitPython/pull/2215> (web)
- <https://github.com/gitpython-developers/GitPython/commit/751473a5f3221d6f989291cbebcc404353fd3ba8> (web)
- <https://github.com/gitpython-developers/GitPython> (package)
- <https://github.com/gitpython-developers/GitPython/releases/tag/3.1.60> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2026-3984.yaml> (web)

## Sources

- CVE List: [CVE-2026-87819](https://www.cve.org/CVERecord?id=CVE-2026-87819), CVE Terms of Use, modified 2026-10-08
- GitHub Advisory Database: [GHSA-g5vv-9gxw-82hx](https://github.com/advisories/GHSA-g5vv-9gxw-82hx), CC-BY-4.0, modified 2026-09-30
- NVD: [CVE-2026-87819](https://nvd.nist.gov/vuln/detail/CVE-2026-87819), Public domain, modified 2026-09-18
- PyPA Advisory Database: [PYSEC-2026-3984](https://osv.dev/vulnerability/PYSEC-2026-3984), CC-BY-4.0, modified 2026-09-17

---

Page: https://cve.day/CVE-2026-87819 · Whole record: https://cve.day/CVE-2026-87819.json · Rebuilt by cve.day 2026-11-25T22:59:37.735Z
