7.1

CVE-2026-87818: GitPython 3.1.59 Local File Content Oracle via --no-index

Analyzed
AliasesGHSA-rw58-wc66-99g4GHSA-whh4-5q6c-9v3xPYSEC-2026-3983
Published 09-09-2026Last modified 08-10-2026

Vulnerability summary

CVE-2026-87818 is a high (CVSS 7.1) vulnerability in gitpython_project gitpython. EPSS estimates a 0.29% chance of exploitation in the next 30 days, higher than 23.3% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
7.1/10
010
High · v4.0 (CVE.org)
EPSS score
0.29%
0%100%
Low · -0.12 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 4 · Related 2

Timeline

  1. 09-09-2026
    PublishedVulnerability first disclosed.
  2. 08-10-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

8 scores · 5 sources · 2 versions

EPSS trend

Probability

0.29%

Chance of exploitation in the next 30 days

Percentile

23%

Versus all other CVEs

30-day change

Decrease -0.12 pp

From 0.41% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Gitpython

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Debian1 product
  • python-gitAll versions (No fix recorded) | < 3.1.30-1+deb12u3 | < 3.1.44-1+deb13u1 | < 3.1.61-1
Gitpython_project1 product
Gitpython-developers1 product
PyPI1 product
  • gitpython≥ 3.1.59 (No fix recorded) | ≥ 3.1.59, < 3.1.60
Ubuntu1 product
  • python-gitAll versions (No fix recorded)

5 vendors · 5 products

References

12 links
Show all 12 references