Vulnerability in Gitpython-Developers Gitpython
CVE-2026-87818
GitPython 3.1.59 fails to restrict the --no-index option in the high-level diff API, allowing attackers to read arbitrary filesystem paths as repository operands. Attackers can combine --no-index with -I/--ignore-matching-lines to create a content-dependent Boolean oracle, repeatedly querying local files to recover single-line secrets through distinguishable success or error responses.
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 (34.4th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 34th percentile — 34.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: 0.000
Affected products
Weakness classification (CWE)
References
- GitHub Security Advisory (GHSA-whh4-5q6c-9v3x) (vendor-advisory, Exploit, Vendor Advisory)
- VulnCheck Advisory: GitPython 3.1.59 Local File Content Oracle via --no-index (Third Party Advisory, third-party-advisory)
Frequently asked questions
- What is CVE-2026-87818?
- CVE-2026-87818 is a medium-severity vulnerability in Gitpython-Developers Gitpython, classified under Argument Injection. CVSS score: 6.5/10. Published 2026-09-09.
- How severe is CVE-2026-87818?
- Medium severity. CVSS v3 base score is 6.5 out of 10.