GHSA-rw58-wc66-99g4

Suggest an improvement
Source
https://github.com/advisories/GHSA-rw58-wc66-99g4
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-rw58-wc66-99g4/GHSA-rw58-wc66-99g4.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-rw58-wc66-99g4
Aliases
Downstream
Withdrawn
2026-09-30T23:28:15Z
Published
2026-09-09T12:32:15Z
Modified
2026-09-30T23:45:04Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
  • 7.1 (High) CVSS_V4 - 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS Calculator
Summary
Duplicate Advisory: GitPython 3.1.59: --no-index bypasses diff unsafe-option protections and enables a blind local-file content oracle
Details

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-whh4-5q6c-9v3x. This link is maintained to preserve external references.

Original 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.

Database specific
{
    "cwe_ids":  [
        "CWE-88"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-09-30T23:28:15Z",
    "nvd_published_at":  "2026-09-09T12:17:16Z",
    "severity":  "HIGH"
}
References

Affected packages

PyPI / gitpython

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.1.59

Affected versions

3.*
3.1.59
3.1.60
3.1.61
3.1.62
3.2.0

Database specific

last_known_affected_version_range
"< 3.1.60"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-rw58-wc66-99g4/GHSA-rw58-wc66-99g4.json"