{"cve":"CVE-2026-87818","nvd":{"published":"2026-09-09T12:17:16.980","modified":"2026-09-16T15:12:45.633","status":"Analyzed","description":"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.","cvss_v4":{"vector":"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","score":7.1},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5},"cwes":["CWE-88"],"references":["https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-whh4-5q6c-9v3x","https://www.vulncheck.com/advisories/gitpython-3.1.59-local-file-content-oracle-via-no-index"],"products":["gitpython_project:gitpython"],"source":"nvd","synced_at":"2026-10-19T22:52:53.108888569+00:00"},"epss":{"cve":"CVE-2026-87818","score":0.00412,"percentile":0.35458,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-whh4-5q6c-9v3x","url":"https://osv.dev/vulnerability/GHSA-whh4-5q6c-9v3x","summary":"GitPython: --no-index bypasses diff unsafe-option protections and enables a blind local-file content oracle","modified":"2026-10-01T17:26:00.195974026Z","packages":[{"ecosystem":"PyPI","name":"gitpython","purl":"pkg:pypi/gitpython","ranges":[">=3.1.59 <3.1.60"],"fixed":["3.1.60"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}