VDB

CVE-2026-76221

CVE-2026-76221 PUBLISHED CVSS 8.7 HIGH

Reported by VulnCheck · Published August 19, 2026

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 Scores

CVSS 4.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

Affected Products

VendorProductVersions
gitpython-developersGitPython0, 3.1.58
alpinepy3-gitpython0, 0, 0
gitpython_projectgitpython0, 0
gitpython-developersGitPython0, 3.1.58, 0

Timeline

  • Aug 19, 2026 CVE Published
  • Aug 20, 2026 Coalition ESS Score
  • Aug 20, 2026 CVE Updated
  • Aug 24, 2026 EPSS Score
  • Aug 26, 2026 EPSS Score
  • Aug 30, 2026 EPSS Score
  • Sep 3, 2026 EPSS Score
  • Sep 4, 2026 Security Advisory
  • Sep 4, 2026 Distribution Patch
  • Sep 4, 2026 Security Advisory
  • Sep 6, 2026 EPSS Score
  • Sep 9, 2026 EPSS Score
Open in Interactive Console →
$ Console Community · 100/wk Open console ›