CVE-2026-87818 json
GitPython 3.1.59 Local File Content Oracle via --no-index
published 2mo ago modified 11d ago also EUVD-2026-74844 , GHSA-rw58-wc66-99g4 , GHSA-whh4-5q6c-9v3x , PYSEC-2026-3983
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 35%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi gitpython 3.1.60
- gitpython-developers GitPython 3.1.60
- python-git Debian 12 3.1.30-1+deb12u3
- python-git Debian 13 3.1.44-1+deb13u1
- python-git Debian 14 3.1.61-1
debian advisories DEBIAN-CVE-2026-87818
- python-GitPython SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES for SAP 15 SP4 +8 more 3.1.34.1693646983.2a2ae77-150400.9.11.1
suse advisories SUSE-SU-2026:4191-1
- python-GitPython openSUSE Leap 16.0 3.1.44-160000.4.1
opensuse advisories openSUSE-SU-2026:21874-1
Is CVE-2026-87818 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-87818 updated cvss 6.5
GitPython: GitPython: Information disclosure through arbitrary file read
-
Red Hat Ansible Automation Platform 2 python3.12-gitpython, ansible-automation-platform-25/hub-rhel8, ansible-automation-platform-27/hub-rhel9 Red Hat OpenShift AI (RHOAI) rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9, rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9 Red Hat Satellite 6 python3.12-gitpythonaffected: no fix available “Fix deferred”
-
Red Hat Exploit Intelligence exploit-intelligence/vulnerability-analysis-rhel9, exploit-intelligence-tech-preview/vulnerability-analysis-rhel9 Red Hat Migration Toolkit for Applications 8 mta/mta-solution-server-rhel9 Red Hat AI Inference Server rhaiis/vllm-cpu-rhel9, rhaiis/vllm-tpu-rhel9 Red Hat Ansible Automation Platform 2 python-gitpython, python3x-gitpython, python3.11-gitpython, automation-controller, ansible-automation-platform-24/hub-rhel8, ansible-automation-platform-26/hub-rhel9, +4 more Red Hat Enterprise Linux AI (RHEL AI) 3 rhelai3/bootc-cuda-rhel9, rhelai3/bootc-rocm-rhel9, rhelai3/bootc-gaudi-rhel9, rhelai3/disk-image-cuda-rhel9not affected: vulnerable code not present
-
Red Hat Hardened Images llvm, rust, llvm21, swift-langnot affected: component not present
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-mlflow-rhel9, rhoai/odh-feature-server-rhel9, rhoai/odh-th-torch-cpu-py312-rhel9, rhoai/odh-th-torch-cuda-py312-rhel9, rhoai/odh-th-torch-rocm-py312-rhel9, rhoai/odh-th06-cpu-torch210-py312-rhel9, +21 more Red Hat OpenStack Platform 16.2 python3-GitPython, rhosp-rhel8/openstack-mistral-api, rhosp-rhel8/openstack-mistral-base, rhosp-rhel8/openstack-tripleoclient, rhosp-rhel8/openstack-mistral-engine, rhosp-rhel8/openstack-nova-scheduler, +2 more Red Hat OpenStack Platform 17.1 GitPython, python3-GitPython Red Hat Satellite 6 python-gitpython, satellite/iop-vmaas-rhel9, satellite/iop-vulnerability-engine-rhel9not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2mo ago
Exploit prediction
0.41% chance of exploitation in the next 30 days, higher than 35% of all scored CVEs (FIRST EPSS, 2026-11-11).
Exploits and checks
- github.com https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-whh4-5q6c-9v3x referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 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 |
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| CNA | 4.0 | 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 |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | gitpython | >=3.1.59, <3.1.60 |
3.1.60 |
Affected products
- gitpython-developers GitPython
Classification
References
-
github.com
/gitpython-developers/GitPython/pull/2217
web
-
github.com
/gitpython-developers/GitPython/commit/09f2cf383a992d1af697364569e9f384748c1bd8
web
-
github.com
/gitpython-developers/GitPython/security/advisories/GHSA-whh4-5q6c-9v3x
vendor-advisory, web, exploit, advisory
-
vulncheck.com
/advisories/gitpython-3.1.59-local-file-content-oracle-via-no-index
third-party-advisory, web
-
github.com
/gitpython-developers/GitPython
package
-
github.com
/gitpython-developers/GitPython/releases/tag/3.1.60
web
-
github.com
/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2026-3983.yaml
web
Sources
- CVE List CVE-2026-87818
- GitHub Advisory GHSA-rw58-wc66-99g4
- GitHub Advisory GHSA-whh4-5q6c-9v3x
- NVD CVE-2026-87818
- OSV PYSEC-2026-3983
- Maintainer advisory GHSA-whh4-5q6c-9v3x
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of gitpython-developers/GitPython published their own advisory on GitHub. Reviewed sources take precedence over it.