Skip to main content
CVE-2026-87818VulnerabilityPublished Updated

standardebooks · GitPython: --no-index bypasses diff unsafe-option protections and enables a blind local-file content oracle

Affects standardebooksSource GCVE Database

0
Compare
Authoritative record:CVE-2026-87818· High 7.1

Not known to be exploited · CVSS 7.1 High : upgrade to 4.1.1 soon.

Data as of 22 Nov 2026, 18:11 UTC

CVSS 4.0 base score
7.1High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 4.1.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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 21 Nov 2026.

What to do

Upgrade standardebooks to 4.1.1.

Affected software

ProductAffectedFixed in
Homebrewstandardebookspkg:brew/standardebooksOther threatsAffected
  • >=4.1.0 <4.1.1
Fixed in
  • 4.1.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available in GitPython version 4.1.1 that fixes this vulnerability by treating the --no-index option as unsafe for the high-level diff API unless the caller explicitly sets allow_unsafe_options=True. Users should upgrade to GitPython 4.1.1 or later to remediate this issue. Until patched, applications should avoid passing attacker-controlled diff options and paths that could enable this oracle. No other mitigations are indicated by the vendor advisory.

Description

GitPython 3.1.59 contains a vulnerability in its high-level diff API where the use of the --no-index option bypasses protections against unsafe git diff options. This allows an attacker who can influence diff options and file paths to perform a blind local-file content oracle, potentially disclosing local file contents. The issue arises because --no-index treats path arguments as arbitrary filesystem paths, and when combined with the -I/--ignore-matching-lines option, it creates a content-dependent Boolean oracle. The vulnerability was confirmed in version 3.1.59 and fixed in 4.1.1.

References

Community reviews

Loading reviews…