This page tracks the Debian fix status. The vulnerability itself is described on the main CVE page.
View CVE-2026-78676 →
DEBIAN-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 injec...
Original description
The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
Affected packages
Debian:12
python-git
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
Debian:13
python-git
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
Debian:14
python-git
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.61-1"}]}]
References
- advisory security-tracker.debian.org