Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Gitpython Project | Gitpython | < 3.1.58 |
Related Weaknesses (CWE)
References
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-wvpp-ExploitVendor Advisory
- https://www.vulncheck.com/advisories/gitpython-before-command-execution-via-spliThird Party Advisory
FAQ
What is CVE-2026-76220?
CVE-2026-76220 is a vulnerability with a CVSS score of 8.8 (HIGH). 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. At...
How severe is CVE-2026-76220?
CVE-2026-76220 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-76220?
Check the references section above for vendor advisories and patch information. Affected products include: Gitpython Project Gitpython.