Vulnerability record · CVE-2026-67325 · published 1 August 2026
CVE-2026-67325: Gitpython project gitpython os command injection vulnerability
Gitpython Project · Gitpython
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.
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: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:
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-2f96-g7mh-g2hx | ExploitVendor Advisory |
| https://www.vulncheck.com/advisories/gitpython-before-command-injection-via-option-prefix-abbreviation | Third Party Advisory |
| https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-2f96-g7mh-g2hx | ExploitVendor Advisory |
Track CVE-2026-67325 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2026-67325), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.