Vulnerability Explorer›CVE-2026-76221
VULNERABILITY
CVE-2026-76221
Common Vulnerabilities and Exposures record
HIGH
Summary
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.
Risk
- CVSS
- 8.7
- Severity
- HIGH
- Vector
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Timeline
- Published
- Aug 19, 2026 14:17
- Modified
- Oct 24, 2026 13:10
- Last observed
- Oct 24, 2026 12:59
CWE
Affected product identifiers
cpe:2.3:a:gitpython_project:gitpython:*:*:*:*:*:python:*:*