CVE-2026-67324
CRITICAL 9.3CVSS 4.0GitPython unsafe clone option gate bypass through joined short options
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.
- Published
- 1 Aug 2026
- Last modified
- 23 Oct 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Analyzed
- Weakness
- CWE-78
- Also known as
- GHSA-v396-v7q4-x2qjPYSEC-2026-3947
- Sources
- NVDJSONOSV GHSA-v396-v7q4-x2qjJSONOSV PYSEC-2026-3947JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | CRITICAL 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/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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| OSV | PyPA | CVSS 4.0 | 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/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 | |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gitpython_project | gitpythoncpe:2.3:a:gitpython_project:gitpython:*:*:*:*:*:python:*:* |
< 3.1.50 | 3.1.50 |
| OSV | PyPI | gitpython | >= 3.1.50, < 3.1.51 | 3.1.51 |
References
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-v396-v7q4-x2qj · Exploit, Vendor Advisory, WEB, EVIDENCE
- https://www.vulncheck.com/advisories/gitpython-authentication-bypass-via-joined-short-options · Third Party Advisory, ADVISORY
- https://github.com/gitpython-developers/GitPython/pull/2162 · WEB
- https://github.com/gitpython-developers/GitPython · PACKAGE
- https://github.com/gitpython-developers/GitPython/releases/tag/3.1.51 · WEB
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 1 Aug 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 1 Aug 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 21 Jul 2026)