Vulnerability in Gitpython-Developers Gitpython
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 · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.004 (33.4th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 33rd percentile — 33.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.004 · change: +0.002
Affected products
Weakness classification (CWE)
References
- GitHub Security Advisory (GHSA-5xxx-qhh7-9287) (vendor-advisory, Exploit, Vendor Advisory)
- VulnCheck Advisory: GitPython before 3.1.59 Arbitrary File Read via Repo.blame() (Third Party Advisory, third-party-advisory)
Frequently asked questions
- What is CVE-2026-78678?
- CVE-2026-78678 is a medium-severity vulnerability in Gitpython-Developers Gitpython, classified under Argument Injection. CVSS score: 6.5/10. Published 2026-08-25.
- How severe is CVE-2026-78678?
- Medium severity. CVSS v3 base score is 6.5 out of 10.