Skip to content
Heist/ feed
Unrated

PYSEC-2026-3983

Type: withdrawalSource: OSV1 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 Source revision 1
Original source ↗

PYSEC-2026-3983

Primary source · Revision 1 · Withdrawn

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

Security context

Source reference: osv:PYSEC-2026-3983

gitpython

Source reference: /affected/0/package/name

Affected versions
3.1.59

Source reference: /affected/0/versions

Fixed versions
3.1.60

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "3.1.59"
          },
          {
            "fixed": "3.1.60"
          }
        ]
      }
    ],
    "package": {
      "name": "gitpython",
      "purl": "pkg:pypi/gitpython",
      "ecosystem": "PyPI"
    },
    "versions": [
      "3.1.59"
    ],
    "database_specific": {
      "source": "https://github.com/pypa/advisory-database/blob/main/vulns/gitpython/PYSEC-2026-3983.yaml"
    },
    "ecosystem_specific": {}
  }
]
Related CVEs
CVE-2026-87818

Source reference: /aliases

Publisher severity

No explicit severity was provided.

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