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.
Published:Aug 25, 2026
Last Modified:Sep 2, 2026
EPS:Aug 25, 2026
EPSS Score:0.0024
CVSS Score:6.5
Affected Products
Vendor
Product
Action
Vendor
Gitpython-developers
Product
Gitpython
Gitpython-developers
Gitpython
Vendor
Gitpython Project
Product
Gitpython
Gitpython Project
Gitpython
Exploits
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Related CVEs
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
