{"cve":"CVE-2026-67323","nvd":{"published":"2026-08-01T13:17:02.637","modified":"2026-10-23T23:10:00.157","status":"Analyzed","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.","cvss_v4":{"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},"cvss_v3":{"version":"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},"cwes":["CWE-77"],"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","https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-956x-8gvw-wg5v"],"products":["gitpython_project:gitpython"],"source":"nvd","synced_at":"2026-10-24T16:53:34.184483516+00:00"},"epss":{"cve":"CVE-2026-67323","score":0.01251,"percentile":0.69214,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-956x-8gvw-wg5v","url":"https://osv.dev/vulnerability/GHSA-956x-8gvw-wg5v","summary":"GitPython: command injection via unguarded Git options in `Repo.archive()`, `git.ls_remote()`, and arbitrary file overwrite via `Repo.iter_commits()` / `Repo.blame()`","modified":"2026-09-10T12:25:39.217544351Z","packages":[{"ecosystem":"PyPI","name":"gitpython","purl":"pkg:pypi/gitpython","ranges":["<3.1.51"],"fixed":["3.1.51"]}]},{"id":"PYSEC-2026-3839","url":"https://osv.dev/vulnerability/PYSEC-2026-3839","summary":"GitPython: command injection via unguarded Git options in `Repo.archive()`, `git.ls_remote()`, and arbitrary file overwrite via `Repo.iter_commits()` / `Repo.blame()`","modified":"2026-09-10T12:15:03.995784695Z","packages":[{"ecosystem":"PyPI","name":"gitpython","purl":"pkg:pypi/gitpython","ranges":["<3.1.51"],"fixed":["3.1.51"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}