Vulnerability in Gitpython-Developers Gitpython
CVE-2026-78676
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.008 (54.5th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 54th percentile — 54.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.008 · change: +0.003
Affected products
Weakness classification (CWE)
References
- GitHub Security Advisory (GHSA-284h-m62q-gf8w) (vendor-advisory, Exploit, Mitigation, Vendor Advisory)
- VulnCheck Advisory: GitPython before 3.1.59 Remote Code Execution via Config Injection (Third Party Advisory, third-party-advisory)
Frequently asked questions
- What is CVE-2026-78676?
- CVE-2026-78676 is a critical-severity vulnerability in Gitpython-Developers Gitpython, classified under Argument Injection. CVSS score: 9.8/10. Published 2026-08-25.
- How severe is CVE-2026-78676?
- Critical severity. CVSS v3 base score is 9.8 out of 10.