CVE-2026-87819
GitPython: GitPython: Denial of Service via crafted commit author field
Overview
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-1333
Affected packages · 3
Operating systems · 22 fixes
Red Hat 3 releases · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | python-gitpython +3 | affected |
| 8 | rhosp-rhel8-openstack-mistral-api +6 | affected |
| 9 | rhosp-rhel9-openstack-tripleoclient | affected |
SUSE Linux Enterprise 4 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | python311-gitpython | 3.1.34.1693646983.2a2ae77-150400.9.11.1 | SUSE-SU-2026:4191-1 |
| 15.5 | python311-gitpython | 3.1.34.1693646983.2a2ae77-150400.9.11.1 | SUSE-SU-2026:4191-1 |
| 15.6 | python311-gitpython | 3.1.34.1693646983.2a2ae77-150400.9.11.1 | SUSE-SU-2026:4191-1 |
| 15.7 | python311-gitpython | 3.1.34.1693646983.2a2ae77-150400.9.11.1 | SUSE-SU-2026:4191-1 |
chainguard 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| nemo-rl-cuda-13-0 | 0.7.0-r2 | |
| awx | 24.6.1-r64 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | python-git | affected |
| 12 | python-git | 3.1.30-1+deb12u3 |
| 13 | python-git | 3.1.44-1+deb13u1 |
| 14 | python-git | 3.1.61-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| python-git | 3.1.44-1+deb13u1 |
minimos 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| mageai | 0.9.80-r0 | |
| py3-gitpython | 3.1.61-r0 | |
| mlflow | 3.15.2-r0 | |
| checkov | 3.3.14-r0 |
openSUSE Leap 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | python313-gitpython | 3.1.44-160000.4.1 | openSUSE-SU-2026:21874-1 |
ubuntu 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 22.04 | python-git | affected |
| 24.04 | python-git | affected |
| 26.04 | python-git | affected |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-87819
- github.com https://github.com/gitpython-developers/GitPython
- github.com https://github.com/gitpython-developers/GitPython/commit/751473a5f3221d6f989291cbebcc404353fd3ba8
- github.com https://github.com/gitpython-developers/GitPython/pull/2215
- github.com https://github.com/gitpython-developers/GitPython/releases/tag/3.1.60
- github.com https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-g5vv-9gxw-82hx
- github.com https://github.com/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2026-3984.yaml
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-87819
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-87819
- www.vulncheck.com https://www.vulncheck.com/advisories/gitpython-before-3.1.60-denial-of-service-via-redos
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.