CVE-2026-87818

published 9 Sep 2026 · updated 8 Oct 2026

GitPython 3.1.59 Local File Content Oracle via --no-index

6.5MediumCVSS 6.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 3.1.60.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
gitpython-developers>=3.1.59 <3.1.603.1.60

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-87818 severity on Zeptric[![CVE-2026-87818](https://zeptric.io/badge/cve/CVE-2026-87818.svg)](https://zeptric.io/cve/CVE-2026-87818)