Vulnerability · Published Aug 1, 2026 · Assigned by VulnCheck
CVE-2026-67324GitPython 3.1.50 Authentication Bypass via Joined Short Options
Critical 9.8
In plain English
A critical-severity OS command injection in GitPython from gitpython-developers. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | python-git | 3.1.30-1+deb12u3 | DEBIAN-CVE-2026-67324 |
| Debian:13 | python-git | 3.1.44-1+deb13u1 | DEBIAN-CVE-2026-67324 |
| Debian:14 | python-git | 3.1.61-1 | DEBIAN-CVE-2026-67324 |
| PyPI | gitpython | 3.1.51 | GHSA-v396-v7q4-x2qj |
| PyPI | gitpython | 3.1.51 | PYSEC-2026-3947 |
| Ubuntu:26.10 | python-git | no fix listed | UBUNTU-CVE-2026-67324 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| gitpython-developers | GitPython | 3.1.50 – before 3.1.51 |
Weakness: CWE-78 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- GitHub Security Advisory (GHSA-v396-v7q4-x2qj) vendor-advisory
- VulnCheck Advisory: GitPython 3.1.50 Authentication Bypass via Joined Short Options third-party-advisory