Advisory record · GHSA-whh4-5q6c-9v3x

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

CVSS 7.1 HighEPSS 0.0041 · 35th percentile

Published by the GitHub Advisory Database at 30 Sept 2026, 23:28 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
gitpythonPyPI>=3.1.59, <3.1.603.1.60
Identifiers
GHSA-whh4-5q6c-9v3x · CVE-2026-87818 · PYSEC-2026-3983
Weakness (CWE)
CWE-88 · CWE-200
Published
30 Sept 2026
Updated
1 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

GitPython versions 3.1.59 and later before 3.1.60 are affected. The high-level diff API still accepts the --no-index option with default settings, so paths are read as arbitrary local files, and combined with the -I option this can be used as a blind oracle to recover local file contents, given an application that forwards attacker-influenced options and paths and exposes success or error results. Upgrade to GitPython 3.1.60.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.1 High 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 CNA (VulnCheck)
  • CISA KEV Not listed.
  • EPSS 0.0041, the 35th percentile, on 8 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:09 UTC First seen by agentprime
  2. 31 Oct 2026, 14:09 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.