Vulnerability in Gitpython-Developers Gitpython

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.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-87818?
CVE-2026-87818 is a medium-severity vulnerability in Gitpython-Developers Gitpython, classified under Argument Injection. CVSS score: 6.5/10. Published 2026-09-09.
How severe is CVE-2026-87818?
Medium severity. CVSS v3 base score is 6.5 out of 10.