CVE-2026-67325
Vulnerability Summary
Timeline
Description
GitPython before 3.1.51 contains an incomplete command injection blocklist that fails to account for git's long-option prefix abbreviation feature. Attackers can bypass the unsafe options guard by using abbreviated option names like upload_p instead of upload_pack, which git resolves to dangerous options and executes arbitrary commands.
CVSS Metrics
- v4.0•HIGH•Score: 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- v4.0•HIGH•Score: 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- v3.1•HIGH•Score: 8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Trends
Current EPSS score: 1.85%• Percentile: 78%
Techniques & Countermeasures
- CWE-78•Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
Affected Systems
- chainguard•checkov
< 3.3.8-r1
- chainguard•mlflow
< 3.14.0-r2 | < 3.16.0-r0
- wolfi•checkov
< 3.3.8-r1
- wolfi•mlflow
< 3.14.0-r2 | < 3.16.0-r0
- debian•python-git
all | all | all | all | < 3.1.61-1
- ubuntu•python-git
all
- gitpython_project•gitpython
< 3.1.51
- gitpython-developers•gitpython
< 3.1.51
- PyPI•gitpython
< 3.1.51
References (13)
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-2f96-g7mh-g2hx
- https://www.vulncheck.com/advisories/gitpython-before-command-injection-via-option-prefix-abbreviation
- https://github.com/gitpython-developers/GitPython/pull/2161
- https://github.com/gitpython-developers/GitPython/commit/56806080c1348749b07daa4a2024ce47b3cad285
- https://github.com/gitpython-developers/GitPython
- https://github.com/gitpython-developers/GitPython/releases/tag/3.1.51
- https://ubuntu.com/security/CVE-2026-67325
- https://www.cve.org/CVERecord?id=CVE-2026-67325
- https://security-tracker.debian.org/tracker/CVE-2026-67325
- https://nvd.nist.gov/vuln/detail/CVE-2026-67325
- https://pypi.org/project/gitpython
- https://github.com/advisories/GHSA-2f96-g7mh-g2hx
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/67xxx/CVE-2026-67325.json