CVE-2026-67323
Last modified
CVE-2026-67323 is a high-severity vulnerability rated 8.4/10 on the CVSS scale. 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. EPSS estimates a 0.95% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gitpython Project | Gitpython | < 3.1.51 |
References
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-956x-8gvw-wg5vExploit, Vendor Advisory
- https://www.vulncheck.com/advisories/gitpython-before-command-injection-via-unguarded-git-optionsThird Party Advisory, Exploit
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-956x-8gvw-wg5vExploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-67323?
How severe is CVE-2026-67323?
How do I fix CVE-2026-67323?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-67318axios versions >=1.13.0 (Node.js HTTP adapter) fail to enfor…5.3
- CVE-2026-67319axios before 0.33.0 (and 1.x before 1.18.0) can consume inhe…3.7
- CVE-2026-6732A flaw was found in libxml2. This vulnerability occurs when …7.5
- CVE-2026-67320axios in a Node.js deployment using the HTTP adapter can rou…7.5
- CVE-2026-67321axios versions 0.31.1 before 0.33.0 and 1.15.1 before 1.18.0…7.5
- CVE-2026-67322GitPython before 3.1.52 is vulnerable to environment-variabl…7.5
- CVE-2026-67324GitPython 3.1.50 fails to recognize joined short-option form…9.8
- CVE-2026-67325GitPython before 3.1.51 contains an incomplete command injec…8.8
- CVE-2026-67326GitPython before 3.1.50 fails to validate newline characters…7.8
- CVE-2026-67327better-auth versions >= 1.1.3 and < 1.6.22 (and pre-release …8.3
- CVE-2026-67328@better-auth/sso versions before 1.6.21 contain multiple aut…8.1
- CVE-2026-67329@better-auth/stripe versions >= 1.4.11 and < 1.6.21, and >= …7.1
Are you affected by CVE-2026-67323?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
