CVE-2026-78678

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

Configuration 1 (hide)

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

History

No history.

Information

Published : 2026-08-25 02:16

Updated : 2026-09-02 18:17


NVD link : CVE-2026-78678

Mitre link : CVE-2026-78678

CVE.ORG link : CVE-2026-78678


JSON object : View

Products Affected

gitpython_project

  • gitpython
CWE
CWE-88

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