{"id":"CVE-2026-67323","revision":"854db466cbd244baa78f9e1e9bec97a0","records":[{"revision":"854db466cbd244baa78f9e1e9bec97a0","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-67323","aliases":[],"title":"GitPython before 3.1.51 Command Injection via unguarded Git options","description":"GitPython before 3.1.51 fails to guard against dangerous Git options passed as keyword arguments in Repo.archive() and git.ls_remote(), allowing command injection via options such as --exec/--upload-pack (leading to arbitrary command execution). Additionally, Repo.iter_commits() and Repo.blame() do not check for leading-dash revision arguments, so a revision like --output=<path> can cause Git to open and truncate an arbitrary file. Exploitation requires an application that passes attacker-controlled arguments to these methods.","state":0,"publishedAt":"2026-08-01T12:22:18.119+00:00","modifiedAt":"2026-10-08T15:24:05.094+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:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.6,"severity":"HIGH"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"severity":"HIGH"}],"references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-956x-8gvw-wg5v","https://www.vulncheck.com/advisories/gitpython-before-command-injection-via-unguarded-git-options"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-67323","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-67323","identifiers":["CVE-2026-67323"]},"retained":false,"historicalAffected":[]}],"coverage":[]}