Command Execution Vulnerability in GitPython by GitHub
CVE-2026-76220

8.7HIGH

Key Information:

Status
Vendor
CVE Published:
19 August 2026

What is CVE-2026-76220?

GitPython, a popular Python library for interacting with Git repositories, has a vulnerability that allows attackers to execute arbitrary operating system commands. This occurs when utilizing certain guarded methods, specifically when a crafted kwargs dictionary is supplied. By combining a single-character keyword argument with the split_single_char_options set to false, attackers can manipulate command execution paths, bypassing the guard mechanisms designed to prevent such actions. This exploitation could lead to severe security breaches, particularly when the default configuration doesn't enforce safe options.

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
.