Vulnerability in Gitpython-Developers Gitpython
CVE-2026-76217
GitPython versions before 3.1.58 fail to validate options passed to git rm and git checkout commands in IndexFile.remove() and Head.checkout(). Attackers can supply --pathspec-from-file and --pathspec-file-nul parameters to read arbitrary files accessible to the process, with full file contents returned in GitCommandError.stderr.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.004 (33.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 33rd percentile — 33.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.004 · change: +0.001
Affected products
Weakness classification (CWE)
References
- github.com/gitpython-developers/GitPython/security/advisories/GHSA-hh9p-6wh2-4m… (Exploit, vendor-advisory, Vendor Advisory)
- www.vulncheck.com/advisories/gitpython-before-arbitrary-file-read-via-pathspec-… (Third Party Advisory, third-party-advisory)
Frequently asked questions
- What is CVE-2026-76217?
- CVE-2026-76217 is a medium-severity vulnerability in Gitpython-Developers Gitpython, classified under External Control of File Name or Path. CVSS score: 6.5/10. Published 2026-08-19.
- How severe is CVE-2026-76217?
- Medium severity. CVSS v3 base score is 6.5 out of 10.