CVE-2026-78678
Published:August 25, 2026
Updated:September 24, 2026
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.
Affected Packages
gitpython (CONDA):
Affected version(s) >=1.0.1 <3.1.59Fix Suggestion:
Update to version 3.1.59gitpython (CONDA):
Affected version(s) >=3.1.51 <3.1.59Fix Suggestion:
Update to version 3.1.59https://github.com/gitpython-developers/GitPython.git (GITHUB):
Affected version(s) >=3.1.51 <3.1.59Fix Suggestion:
Update to version 3.1.59gitpython (PYTHON):
Affected version(s) >=3.1.51 <3.1.59Fix Suggestion:
Update to version 3.1.59gitpython (PYTHON):
Affected version(s) >=0.1.7 <3.1.59Fix Suggestion:
Update to version 3.1.59Related Resources (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
EPSS
Base Score:
0.24