Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
GitPython before 3.1.51 allows command execution through clone, fetch, pull, and push calls. The blocklist added for CVE-2026-42215 can be bypassed with abbreviated option names such as upload_p, so an application that passes attacker-controlled keyword argument names to these calls is exposed. Upgrade to GitPython 3.1.51.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 8.7 | High | 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | CNA (VulnCheck) |
- CISA KEV Not listed.
- EPSS 0.022, the 82nd percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:09 UTC First seen by agentprime
- 31 Oct 2026, 14:09 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-2f96-g7mh-g2hx
- OSV: GHSA-2f96-g7mh-g2hx
- github.com/gitpython-developers/GitPython/security/advisories/GHSA-2f96-g7mh-g2hx
- nvd.nist.gov/vuln/detail/CVE-2026-67325
- github.com/gitpython-developers/GitPython/pull/2161
- github.com/gitpython-developers/GitPython/commit/56806080c1348749b07daa4a2024ce47b3cad285
- github.com/gitpython-developers/GitPython
- github.com/gitpython-developers/GitPython/releases/tag/3.1.51
- www.vulncheck.com/advisories/gitpython-before-command-injection-via-option-prefix-abbreviation