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:Sep 9, 2026
Last Modified:Sep 10, 2026
EPS:Sep 9, 2026
EPSS Score:
CVSS Score:6.5
Affected Products
Vendor
Product
Action
Vendor
Gitpython-developers
Product
Gitpython
Gitpython-developers
Gitpython
Vendor
Gitpython Project
Product
Gitpython
Gitpython Project
Gitpython
Exploits
No exploit reference
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Related CVEs
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
