Live threats

All CVEs / Gitpython Project

CVE-2026-87818Gitpython Project Gitpython

High 7.1

Priority
43
CVSS 4.0
7.1
EPSS
—
Auth required
Yes
Published
Sep 9, 2026
Updated
Sep 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-88
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
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

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Gitpython.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI gitpython ≥ 3.1.59 < 3.1.60 3.1.60 pip install "gitpython>=3.1.60"

Per OSV / GitHub Advisories (GHSA-whh4-5q6c-9v3x). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
gitpython_projectgitpython< 3.1.60

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.