High severity8.8NVD Advisory· Published Aug 1, 2026· Updated Sep 3, 2026
CVE-2026-67325
CVE-2026-67325
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
3- Range: <3.1.51
- ghsa-coords2 versions
< 3.1.51+ 1 more
- (no CPE)range: < 3.1.51
- (no CPE)range: < 3.1.58-1.1
Patches
Vulnerability mechanics
References
7- github.com/gitpython-developers/GitPython/security/advisories/GHSA-2f96-g7mh-g2hxnvdExploitVendor Advisory
- github.com/advisories/GHSA-2f96-g7mh-g2hxghsaADVISORY
- www.vulncheck.com/advisories/gitpython-before-command-injection-via-option-prefix-abbreviationnvdThird Party Advisory
- github.com/gitpython-developers/GitPython/commit/56806080c1348749b07daa4a2024ce47b3cad285ghsa
- github.com/gitpython-developers/GitPython/pull/2161ghsa
- github.com/gitpython-developers/GitPython/releases/tag/3.1.51ghsa
- nvd.nist.gov/vuln/detail/CVE-2026-67325ghsa
News mentions
1- GitPython: Five Vulnerabilities Disclosed Together, Ranging From Command Injection to Env Var LeaksVypr Intelligence · Aug 2, 2026