CVE-2026-87818
published 2026-09-09CVE-2026-87818: 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…
PriorityP341medium6.5CVSS 3.1
AVNACLPRLUINSUCHINAN
EPSS
0.24%
15.5th percentile
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.
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| ansible-automation-platform-25 | hub-rhel8 | — | — |
| ansible-automation-platform-27 | hub-rhel9 | — | — |
| gitpython-developers | gitpython | >= 3.1.59 < 3.1.60 | 3.1.60 |
| gitpython_project | gitpython | < 3.1.60 | 3.1.60 |
| rhoai | odh-pipeline-runtime-tensorflow-rocm-py312-rhel9 | — | — |
| rhoai | odh-workbench-jupyter-tensorflow-rocm-py312-rhel9 | — | — |
CVSS provenance
nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
nvdv4.07.1HIGHCVSS: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
vendor_redhat6.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
GitPython: GitPython: Information disclosure through arbitrary file read
vendor_redhat·2026-09-09·CVSS 6.5
CVE-2026-87818 [MEDIUM] CWE-73 GitPython: GitPython: Information disclosure through arbitrary file read
GitPython: GitPython: Information disclosure through arbitrary file read
A flaw was found in GitPython. This vulnerability allows an attacker to read arbitrary files on the system by manipulating the `--no-index` option in the diff API. By combining this with other options, an attacker can repeatedly query local files to extract sensitive information, such as single-line secrets, based on the application's responses.
Package: exploit-intelligence-tech-preview/vulnerability-analysis-rhel9 (Exploit Intelligence) - Not affected
Package: exploit-intelligence/vulnerability-analysis-rhel9 (Exploit Intelligence) - Not affected
Package: mta/mta-solution-server-rhel9 (Migration Toolkit for Applications 8) - Not affected
Package: rhaiis/vllm-cpu-rhel9 (Red Hat AI Inference Server) - Not affecte
GHSA
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.
ghsa_unreviewed·2026-09-09
CVE-2026-87818 [HIGH] CWE-88 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.
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.
No detection rules found.
No public exploits indexed.
2026-09-09
Published