Skip to main content
← All vulnerabilities
CVE-2026-87818GHSA-RW58-WC66-99G4PYSEC-2026-3983GHSA-WHH4-5Q6C-9V3X

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.1.60
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • gitpython-developers GitPython

    From 3.1.59 · fixed in 3.1.60

  • gitpythonPyPI

    From 3.1.59 · fixed in 3.1.60

References 2

GitHub · gitpython-developers/GitPython

vulncheck.com