CVE-2026-78676
Last modified
CVE-2026-78676 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. GitPython before 3.1.59 fails to safely re-serialize multi-line git-config values during write operations, corrupting dormant quoted values into injected directives like core.hooksPath. Attackers can craft config files with embedded newlines that become live git directives after any unrelated GitPython config write, enabling arbitrary code execution via hook invocation.. EPSS estimates a 0.40% chance of exploitation in the next 30 days.
Description
GitPython before 3.1.59 fails to safely re-serialize multi-line git-config values during write operations, corrupting dormant quoted values into injected directives like core.hooksPath. Attackers can craft config files with embedded newlines that become live git directives after any unrelated GitPython config write, enabling arbitrary code execution via hook invocation.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gitpython Project | Gitpython | < 3.1.59 |
References
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-284h-m62q-gf8wExploit, Vendor Advisory, Mitigation
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-78676?
How severe is CVE-2026-78676?
How do I fix CVE-2026-78676?
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-78658IBM UCD - IBM UrbanCode Deploy 7.2 through 7.2.3.25, and 7.3…6.5
- CVE-2026-7866Stack-based Buffer Overflow vulnerability in RTI Connext Pro…10
- 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-78677GitPython before 3.1.59 omits --separate-git-dir from unsafe…7.5
- CVE-2026-78678GitPython versions before 3.1.59 contain an incomplete denyl…6.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
Are you affected by CVE-2026-78676?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
