{"cve":"CVE-2026-67325","nvd":{"published":"2026-08-01T13:17:02.923","modified":"2026-10-23T23:10:00.157","status":"Analyzed","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_v4":{"vector":"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","score":8.7},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-78"],"references":["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/security/advisories/GHSA-2f96-g7mh-g2hx"],"products":["gitpython_project:gitpython"],"source":"nvd","synced_at":"2026-10-24T16:53:34.184483516+00:00"},"epss":{"cve":"CVE-2026-67325","score":0.02209,"percentile":0.8247,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-2f96-g7mh-g2hx","url":"https://osv.dev/vulnerability/GHSA-2f96-g7mh-g2hx","summary":"GitPython: Command Injection via git long-option prefix abbreviation bypass of CVE-2026-42215 blocklist","modified":"2026-09-23T05:15:05.950374846Z","packages":[{"ecosystem":"PyPI","name":"gitpython","purl":"pkg:pypi/gitpython","ranges":["<3.1.51"],"fixed":["3.1.51"]}]},{"id":"PYSEC-2026-3836","url":"https://osv.dev/vulnerability/PYSEC-2026-3836","summary":"GitPython: Command Injection via git long-option prefix abbreviation bypass of CVE-2026-42215 blocklist","modified":"2026-09-10T12:15:05.545830326Z","packages":[{"ecosystem":"PyPI","name":"gitpython","purl":"pkg:pypi/gitpython","ranges":["<3.1.51"],"fixed":["3.1.51"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}