CVE-2026-76221CWE-74

CVE-2026-76221

High · published August 19, 2026

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

GitPython before 3.1.58 contains a config-name injection vulnerability in the option-name validator that allows attackers to forge arbitrary git-config directives by injecting equals signs, hash symbols, and whitespace into option names. Attackers can inject malicious option names like 'sshCommand = touch /tmp/RCE #' to execute arbitrary commands via core.sshCommand or core.hooksPath on the next git operation.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
8.7 · CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS
0.00774 · 55.3th percentile
Weakness
CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Published
2026-08-19T18:17Z
Affected products (1)
ProductVersionsFixed in
gitpython_project/gitpython< 3.1.583.1.58
References (2)
EPSS history
Timeline
  • 19 AUG 14:02Z
    GitPython before 3.1.58 Config Injection via option-name
    cvelistv5