{"id":"CVE-2026-67325","revision":"1b484197cb5646bf81b53721572cb12a","records":[{"revision":"1b484197cb5646bf81b53721572cb12a","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-67325","aliases":[],"title":"GitPython before 3.1.51 Command Injection via option prefix abbreviation","description":"GitPython before 3.1.51 contains an incomplete command injection blocklist that fails to account for git's long-option prefix abbreviation feature. Attackers can bypass the unsafe options guard by using abbreviated option names like upload_p instead of upload_pack, which git resolves to dangerous options and executes arbitrary commands.","state":0,"publishedAt":"2026-08-01T12:22:16.817+00:00","modifiedAt":"2026-10-08T15:24:06.398+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.51\"\n                        },\n                        {\n                            \"version\": \"3.1.51\",\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-2f96-g7mh-g2hx","https://www.vulncheck.com/advisories/gitpython-before-command-injection-via-option-prefix-abbreviation"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-67325","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-67325","identifiers":["CVE-2026-67325"]},"retained":false,"historicalAffected":[]}],"coverage":[]}