StraitOfVuln
Latest / CVE-2026-76221

CVE-2026-76221

HighCVSS 8.8 (v3.1)Analyzed
CVE.org ↗NVD ↗Vendor advisory ↗

Description

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.

Details

CVE ID
CVE-2026-76221
Published / updated
19 Aug 2026, 14:17 UTC · last modified 24 Oct 2026, 13:10 UTC
Severity
HIGH
CVSS score
8.8 · v3.1 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H · Attack vector: Network
Affected vendor
Affected products
Gitpython
Affected versions
Gitpython: < 3.1.58
Fixed versions
gitpython 3.1.58
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.48% probability of exploitation in the next 30 days · 43% percentile (03 Dec 2026)
Weakness
Remediation
Upgrade to a fixed release (gitpython 3.1.58) per the vendor advisory.
Source (CNA)
disclosure@vulncheck.com