Local File Access Vulnerability in GitPython by GitPython Developers
CVE-2026-87818

7.1HIGH

Key Information:

Status
Vendor
CVE Published:
9 September 2026

What is CVE-2026-87818?

A vulnerability in GitPython 3.1.59 permits attackers to exploit the --no-index option within the high-level diff API, leading to unauthorized access to arbitrary filesystem paths. This flaw allows adversaries to combine --no-index with -I/--ignore-matching-lines to construct a content-dependent Boolean oracle. By leveraging this method, attackers can make repeated queries across local files, potentially revealing sensitive single-line secrets based on distinguishable success or failure responses.

Affected Version(s)

GitPython 3.1.59 < 3.1.60

GitPython 3.1.60

References

CVSS V4

Score:
7.1
Severity:
HIGH
Confidentiality:
High
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

kokomaru167
.