CVE-2026-87818 PUBLISHED

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

Assigner: VulnCheck
Reserved: 09.09.2026 Published: 09.09.2026 Updated: 09.09.2026

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.

Metrics

CVSS 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
CVSS Score: 7.1

Product Status

Vendor gitpython-developers
Product GitPython
Versions Default: unaffected
  • affected from 3.1.59 to 3.1.60 (excl.)
  • Version 3.1.60 is unaffected

Credits

  • kokomaru167 reporter

References

Problem Types

  • Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') CWE