CVE-2026-87818
published high CVSS 4.0 · 7.1GitPython 3.1.59 Local File Content Oracle via --no-index
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| gitpython-developers | — | GitPython3.1.59 to < 3.1.60 (affected · semver) · 3.1.60 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| Debian | bookworm | python-git | Advisory build | 3.1.30-1+deb12u3 | DLA-4872-1 |
| SUSE / openSUSE | SLE-15-SP4 | python311-GitPythonnoarch | Advisory build | 3.1.34.1693646983.2a2ae77-150400.9.11.1 | SUSE-SU-2026:4191-1 |
| Debian | trixie | python-git | Advisory build | 3.1.44-1+deb13u1 | DSA-6594-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-GitPythonnoarch | Advisory build | 3.1.34.1693646983.2a2ae77-150400.9.11.1 | SUSE-SU-2026:4191-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-GitPythonnoarch | Advisory build | 3.1.34.1693646983.2a2ae77-150400.9.11.1 | SUSE-SU-2026:4191-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-GitPythonnoarch | Advisory build | 3.1.34.1693646983.2a2ae77-150400.9.11.1 | SUSE-SU-2026:4191-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-GitPythonnoarch | Advisory build | 3.1.34.1693646983.2a2ae77-150400.9.11.1 | SUSE-SU-2026:4191-1 |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-GitPythonnoarch | Advisory build | 3.1.44-160000.4.1 | OPENSUSE-SU-2026:21874-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.5 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| gitpython-developers | GitPython | 3.1.59 to < 3.1.60 (affected · semver)3.1.60 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-88 Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
References
2- GitHub Security Advisory (GHSA-whh4-5q6c-9v3x) https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-whh4-5q6c-9v3x
- VulnCheck Advisory: GitPython 3.1.59 Local File Content Oracle via --no-index https://www.vulncheck.com/advisories/gitpython-3.1.59-local-file-content-oracle-via-no-index
Provider assertions
2VulnCheck · cna
GitPython 3.1.59 Local File Content Oracle via --no-index
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c0d7be0fbb0d3fd7031da3344581e47f35ac3070def7013acd61c4b4f4a506a1
- Ingested
- 09 Oct 2026, 16:39:26 UTC
- Source record
- Official CVE record