CVE-2026-67325: GitPython before 3.1.51 contains an incomplete command injection blocklist that fails to account for git's lon
CVE-2026-67325 is a high-severity flaw (CVSS 8.8) affecting gitpython. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.8 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 2.2% (top 18%) |
| CISA exploited list | No |
| Weakness | CWE-78 |
| Published | 2026-08-01 |
| Last modified | 2026-10-23 |
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-67325?
gitpython: upgrade to 3.1.51. Exact commands for each OS are on this page.
Is CVE-2026-67325 being exploited?
CVE-2026-67325 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-67325 affect?
CVE-2026-67325 affects gitpython. Severity is high (CVSS 8.8). 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_
How urgent is CVE-2026-67325?
Priority 56/100. High severity; Public exploit reference
Software pages
Related CVEs
- CVE-2026-76221 HIGH 8.8 UPGRADE GitPython before 3.1.58 contains a config-name injection vulnerability in the option-name validator that allow
- CVE-2026-67324 CRITICAL 9.8 UPGRADE GitPython 3.1.50 fails to recognize joined short-option forms such as -u<value> (the short form of --upload-pa
- CVE-2026-67323 HIGH 8.4 UPGRADE GitPython before 3.1.51 fails to guard against dangerous Git options passed as keyword arguments in Repo.archi
- CVE-2026-67322 HIGH 7.5 UPGRADE GitPython before 3.1.52 is vulnerable to environment-variable exfiltration in Repo.clone_from()
- CVE-2026-67326 HIGH 7.0 UPGRADE GitPython before 3.1.50 fails to validate newline characters in the section parameter of config_writer(), allo