CVE-2026-87818

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:gitpython_project:gitpython:*:*:*:*:*:python:*:*

History

16 Sep 2026, 15:12

Type Values Removed Values Added
References () https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-whh4-5q6c-9v3x - () https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-whh4-5q6c-9v3x - Exploit, Vendor Advisory
References () https://www.vulncheck.com/advisories/gitpython-3.1.59-local-file-content-oracle-via-no-index - () https://www.vulncheck.com/advisories/gitpython-3.1.59-local-file-content-oracle-via-no-index - Third Party Advisory
CPE cpe:2.3:a:gitpython_project:gitpython:*:*:*:*:*:python:*:*
First Time Gitpython Project gitpython
Gitpython Project

Information

Published : 2026-09-09 12:17

Updated : 2026-09-16 15:12


NVD link : CVE-2026-87818

Mitre link : CVE-2026-87818

CVE.ORG link : CVE-2026-87818


JSON object : View

Products Affected

gitpython_project

  • gitpython
CWE
CWE-88

Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')