CVE-2026-78676CWE-88

CVE-2026-78676

Critical · published August 25, 2026

CVSS v3.1
9.8
EPSS
1%
Percentile
55.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
9.3 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS
0.00775 · 55.3th percentile
Weakness
CWE-88 · Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
Published
2026-08-25T06:16Z
Affected products (1)
ProductVersionsFixed in
gitpython_project/gitpython< 3.1.593.1.59
References (2)
EPSS history
Timeline
  • 26 AUG 08:27Z
    EPSS moved — → 0%
    epss
  • 25 AUG 01:30Z
    GitPython before 3.1.59 Remote Code Execution via Config Injection
    cvelistv5