PT-2026-81153 · Pypi+1 · Gitpython+1

·

CVE-2026-78678

·

Published

2026-08-10

·

Updated

2026-09-08

CVSS v4.0

7.1

High

VectorAV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions GitPython versions prior to 3.1.59
Description An incomplete denylist in the unsafe git revision options guard fails to include the --contents and -S options. This allows an attacker to read arbitrary files by passing these options to the Repo.blame() function. For example, providing a revision value such as --contents=/etc/passwd can leak the contents of sensitive files through the result returned to the caller.
Recommendations Update GitPython to version 3.1.59 or later.

Exploit

Fix

Information Disclosure

Argument Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2026-12784
CVE-2026-78678
GHSA-5XXX-QHH7-9287
GHSA-89FF-M8WV-P99R
OPENSUSE-SU-2026:11615-1
PYSEC-2026-3788

Affected Products

Gitpython
Red Os