Skip to content
CVE PROGRAM SOURCE RECORD7.1 High

CVE-2026-87818

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

Description

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

gitpython-developers GitPython

Default version status: unaffected

  • 3.1.59 to < 3.1.60affected
  • 3.1.60unaffected
pkg:pypi/gitpython

References