{"id":"CVE-2026-76220","revision":"c828c531110940fda0bf938b92e860f4","records":[{"revision":"c828c531110940fda0bf938b92e860f4","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-76220","aliases":[],"title":"GitPython before 3.1.58 Command Execution via split_single_char_options","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.","state":0,"publishedAt":"2026-08-19T14:02:04.108+00:00","modifiedAt":"2026-10-08T15:25:01.788+00:00","affected":[{"ecosystem":"Vendor product","name":"GitPython","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"gitpython-developers\",\n                    \"product\": \"GitPython\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"packageURL\": \"pkg:pypi/gitpython\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThan\": \"3.1.58\"\n                        },\n                        {\n                            \"version\": \"3.1.58\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":8.7,"severity":"HIGH"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"severity":"HIGH"}],"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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-76220","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-76220","identifiers":["CVE-2026-76220"]},"retained":false,"historicalAffected":[]}],"coverage":[]}