CVE-2026-67324
9.3
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Summary
GitPython 3.1.50 fails to recognize joined short-option forms such as -u<value> (the short form of –upload-pack=<value>) when enforcing its default unsafe-option gate. When an application passes attacker-influenced clone options into Repo.clone_from(…, multi_options=…, allow_unsafe_options=False), an attacker can supply -u<helper> to bypass the gate that blocks –upload-pack/-u, causing Git to execute the specified helper command during clone. Fixed in 3.1.51.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| gitpython-developers | GitPython | 3.1.50 < 3.1.51 | affected |
| gitpython-developers | GitPython | 3.1.51 | unaffected |
Weaknesses
- CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-v396-v7q4-x2qj
- https://www.vulncheck.com/advisories/gitpython-authentication-bypass-via-joined-short-options
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.