{"id":"CVE-2026-67323","aliases":["GHSA-956x-8gvw-wg5v","PYSEC-2026-3839"],"url":"https://o3.security/vulnerability/CVE-2026-67323","summary":"GitPython before 3.1.51 Command Injection via unguarded Git options","details":"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.","published":"2026-08-01T12:22:18.119Z","modified":"2026-09-13T18:26:43.345668860Z","cvss":null,"epss":{"score":0.01037,"percentile":0.61985,"asOf":"2026-09-13"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"gitpython","fixedVersion":"3.1.51"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/67xxx/CVE-2026-67323.json"},{"type":"ADVISORY","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-956x-8gvw-wg5v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-67323"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/gitpython-before-command-injection-via-unguarded-git-options"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-09-13T18:26:43.345668860Z"}}