CVE Catalog

CVE-2026-87818

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.23%

13th percentile - higher than 13% of all known CVEs

Summary

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.

Risk Assessment

Risk of disclosure of sensitive data (e.g., secrets) stored in local files.

Recommendation

Update GitPython to a version newer than 3.1.59 or apply a workaround restricting the use of --no-index.

Other vulnerabilities in GitPython

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS