MEDIUMUnknown →
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 th
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
No package-level mapping for this advisory.
Exploit signal
- Known exploited (CISA KEV)
- No
- EPSS score
- —
- EPSS percentile
- —
EPSS is the probability a CVE is exploited in the wild; percentile is its rank among all CVEs.
Sources
- https://www.cve.org/CVERecord?id=CVE-2026-78678
- https://github.com/cveproject/cvelistv5/tree/main/cves/2026/78xxx/cve-2026-78678.json
- https://github.com/gitpython-developers/gitpython/security/advisories/ghsa-5xxx-qhh7-9287
- https://nvd.nist.gov/vuln/detail/cve-2026-78678
- https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-read-via-repo-blame
Structured record: https://ubuntu.com/security/CVE-2026-78678
Recommended response stack
Snyk — Scan your dependencies in CI and fix this vulnerability.→Socket — Detect malicious and compromised packages before they ship.→
Some links are affiliate links — HackTribune may earn a commission at no extra cost to you.
Get incidents like this as alerts for your stack.
Join the beta