Config-Name Injection Vulnerability in GitPython by GitPython Developers
CVE-2026-76221

8.7HIGH

Key Information:

Status
Vendor
CVE Published:
19 August 2026

What is CVE-2026-76221?

GitPython, prior to version 3.1.58, exhibits a config-name injection vulnerability within its option-name validator. This flaw enables attackers to manipulate git-config directives by injecting characters such as equals signs, hash symbols, and whitespace into the option names. Malicious actors could exploit this vulnerability by crafting harmful option names—such as 'sshCommand = touch /tmp/RCE #'—to force the execution of arbitrary commands during subsequent git operations, potentially leading to severe security breaches. Proper updates and security measures should be taken to mitigate the risks associated with this vulnerability.

Affected Version(s)

GitPython 0 < 3.1.58

GitPython 3.1.58

References

CVSS V4

Score:
8.7
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

manus-use
.