What’s Vulnerable › Vulnerabilities
CVE-2026-76220: GitPython before 3.1.58 Command Execution via split_single_char_options
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-08-19 · updated 2026-09-03
- Weakness: CWE-88
Description
GitPython before 3.1.58 contains a command execution vulnerability in the check_unsafe_options guard that can be bypassed by combining a single-character kwarg with split_single_char_options=False. Attackers can supply a crafted kwargs dictionary to guarded methods like clone_from to emit a joined token parsed as --upload-pack, enabling arbitrary OS command execution at default allow_unsafe_options=False.
Affected products
- gitpython-developers GitPython: before 3.1.58 — fixed in 3.1.58
How to fix
Upgrade to a fixed version: gitpython-developers GitPython 3.1.58. Check the vendor advisory for mitigations.
References
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-wvpp-8hx9-p66j
- https://www.vulncheck.com/advisories/gitpython-before-command-execution-via-split-single-char-options
Get alerted when CVE-2026-76220 or the next vulnerability affects your stack