Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
GitPython before 3.1.58 passes extra keyword arguments from IndexFile.remove() and Head.checkout() to git unchecked. An attacker who controls those arguments can read the full contents of a chosen local file, which is returned in error output. Upgrade to GitPython 3.1.58 or later.
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 |
|---|---|---|---|---|
| 7.1 | High | 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | CNA (VulnCheck) |
- CISA KEV Not listed.
- EPSS 0.0041, the 36th percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:10 UTC First seen by agentprime
- 31 Oct 2026, 14:10 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-hh9p-6wh2-4mfc
- OSV: GHSA-hh9p-6wh2-4mfc
- github.com/gitpython-developers/GitPython/security/advisories/GHSA-hh9p-6wh2-4mfc
- nvd.nist.gov/vuln/detail/CVE-2026-76217
- github.com/gitpython-developers/GitPython/pull/2204
- github.com/gitpython-developers/GitPython/commit/f2550b65bf60ca087190981e2c7b6865e201f40c
- github.com/gitpython-developers/GitPython
- github.com/gitpython-developers/GitPython/releases/tag/3.1.58
- www.vulncheck.com/advisories/gitpython-before-arbitrary-file-read-via-pathspec-from-file