CVE-2026-87818
HIGH 7.1CVSS 4.0Duplicate Advisory: GitPython 3.1.59: --no-index bypasses diff unsafe-option protections and enables a blind local-file content oracle
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.
- Published
- 9 Sep 2026
- Last modified
- 1 Oct 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Analyzed
- Weakness
- CWE-200CWE-88
- Also known as
- GHSA-rw58-wc66-99g4GHSA-whh4-5q6c-9v3xPYSEC-2026-3983
- Sources
- NVDJSONOSV GHSA-rw58-wc66-99g4JSONOSV GHSA-whh4-5q6c-9v3xJSONOSV PYSEC-2026-3983JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | HIGH 7.1 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| OSV | PyPA | CVSS 4.0 | 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 | |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gitpython_project | gitpythoncpe:2.3:a:gitpython_project:gitpython:*:*:*:*:*:python:*:* |
< 3.1.60 | 3.1.60 |
| OSV | PyPI | gitpython | >= 3.1.59 | |
| OSV | PyPI | gitpython | >= 3.1.59, < 3.1.60 | 3.1.60 |
References
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-whh4-5q6c-9v3x · Exploit, Vendor Advisory, WEB, EVIDENCE
- https://www.vulncheck.com/advisories/gitpython-3.1.59-local-file-content-oracle-via-no-index · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-87818 · ADVISORY
- https://github.com/gitpython-developers/GitPython/pull/2217 · WEB
- https://github.com/gitpython-developers/GitPython/commit/09f2cf383a992d1af697364569e9f384748c1bd8 · WEB
- https://github.com/gitpython-developers/GitPython · PACKAGE
- https://github.com/gitpython-developers/GitPython/releases/tag/3.1.60 · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2026-3983.yaml · WEB
- https://github.com/advisories/GHSA-rw58-wc66-99g4 · ADVISORY
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 9 Sep 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Sep 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 30 Sep 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Sep 2026)