Skip to content
Heist/ feed
High

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-87818

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-87818

GitPython

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "gitpython-developers",
    "product": "GitPython",
    "versions": [
      {
        "status": "affected",
        "version": "3.1.59",
        "lessThan": "3.1.60",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "3.1.60",
        "versionType": "semver"
      }
    ],
    "packageURL": "pkg:pypi/gitpython",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-87818

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#12956 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement