CVE-2026-78678 HIGH

CVE-2026-78678: GitPython before 3.1.59 Arbitrary File Read via Repo.blame()

Vendor Gitpython-Developers
Product GitPython
Weakness CWE-88
Published August 25, 2026
Last update August 25, 2026

CVSS base score

7.1/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality
Integrity

CVSS 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

What the vulnerability does

01Description

GitPython versions before 3.1.59 contain an incomplete denylist in the unsafe_git_revision_options guard that omits --contents and -S options, allowing attackers to read arbitrary files by passing these options to Repo.blame(). Attackers can supply revision values like --contents=/etc/passwd to leak file contents through the blame result returned to the caller.

Key dates

02Disclosure timeline

August 25, 2026 CVE published