published 19 Aug 2026 · updated 8 Oct 2026
GitPython before 3.1.58 Config Injection via option-name
8.8HighCVSS 8.8EPSS 0%
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 3.1.58.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| gitpython-developers | <3.1.58 | 3.1.58 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket