๐Ÿ” CVE Alert

CVE-2026-76221

HIGH 8.8

GitPython before 3.1.58 Config Injection via option-name

CVSS Score
8.8
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-74
Vendor gitpython-developers
Product gitpython
Published Aug 19, 2026
Stay Ahead of the Next One

Get instant alerts for gitpython-developers gitpython

Be the first to know when new high vulnerabilities affecting gitpython-developers gitpython are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

gitpython-developers / GitPython
0 < 3.1.58

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-jm78-9fvv-mhgr vulncheck.com: https://www.vulncheck.com/advisories/gitpython-before-config-injection-via-option-name

Credits

๐Ÿ” manus-use