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.

EPSS: 0.004 (33.2th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

References

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.