GitPython 3.1.58 config-injection before RCE (CVE-2026-78676, CRITICAL): a read-then-rewrite round trip turns a legitimate multiline value into a live core.hooksPath option with no unsafe caller argument. Validated with real upstream commits and git config: vuln injects a hook path, fixed preserves the value. Includes lab, PoC, exploit.
python git proof-of-concept poc critical security-research vulnerability-research gitpython remote-code-execution cwe-88 cwe-94 cve-2026-78676 config-injection hooks-path multiline-value
-
Updated
Dec 2, 2026 - Python