RCE in Gitpython-Developers Gitpython
CVE-2026-67324
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.005, 39.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Gitpython-Developers Gitpython — versions 3.1.50, 3.1.51
- Gitpython Project
Weakness classification (CWE)
References
- GitHub Security Advisory (GHSA-v396-v7q4-x2qj) (vendor-advisory, Exploit, Vendor Advisory)
- VulnCheck Advisory: GitPython 3.1.50 Authentication Bypass via Joined Short Options (Third Party Advisory, third-party-advisory)