Vulnerability

CVE-2026-76221

highCVSS 4.0 8.7Published 19 Aug 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Gitpython Project gitpython

Weakness type

References

  • github.com /gitpython-developers/GitPython/security/advisories/GHSA-jm…
  • www.vulncheck.com /advisories/gitpython-before-config-injection-via-option-na…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning