CVE-2026-78678
Last modified
CVE-2026-78678 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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.. EPSS estimates a 0.23% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gitpython Project | Gitpython | < 3.1.59 |
References
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-5xxx-qhh7-9287Exploit, Vendor Advisory
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-5xxx-qhh7-9287Exploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-78678?
How severe is CVE-2026-78678?
How do I fix CVE-2026-78678?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-78662Previously, a channel registered in the mux's chanList is no…7.5
- CVE-2026-78668Rejected reason: reserved but not needed
- CVE-2026-7867A flaw was found in udisks2. A local attacker with an active…7.8
- CVE-2026-78675GitPython before 3.1.59 fails to disable merge_includes when…7.8
- CVE-2026-78676GitPython before 3.1.59 fails to safely re-serialize multi-l…9.8
- CVE-2026-78677GitPython before 3.1.59 omits --separate-git-dir from unsafe…7.5
- CVE-2026-78679GitPython before 3.1.59 contains an arbitrary file read vuln…6.5
- CVE-2026-7868IBM OPENBMC FW1110.00 through FW1110.20, and FW1060.00 throu…6.5
- CVE-2026-78680NLTK versions before 3.10.3 fail to use validated absolute p…7.8
- CVE-2026-78681NLTK versions before 3.10.3 use xml.etree.ElementTree to par…7.5
- CVE-2026-78682NLTK before 3.10.3 contains a server-side request forgery vu…7.5
- CVE-2026-78683NLTK before 3.10.0 (affected versions <=3.9.4) contains an u…9.6
Are you affected by CVE-2026-78678?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
