Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
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.59
Fix Suggestion:
Update to version 3.1.59
gitpython (CONDA):
Affected version(s) >=3.1.51 <3.1.59
Fix Suggestion:
Update to version 3.1.59
https://github.com/gitpython-developers/GitPython.git (GITHUB):
Affected version(s) >=3.1.51 <3.1.59
Fix Suggestion:
Update to version 3.1.59
gitpython (PYTHON):
Affected version(s) >=3.1.51 <3.1.59
Fix Suggestion:
Update to version 3.1.59
gitpython (PYTHON):
Affected version(s) >=0.1.7 <3.1.59
Fix Suggestion:
Update to version 3.1.59
Do you need more information?
Contact Us
CVSS 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)
Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
Exposure of Sensitive Information to an Unauthorized Actor
EPSS
Base Score:
0.24