CVE-2026-67323
GitPython · GitPython
GitPython is vulnerable to Command Injection via improper neutralization of unguarded Git options, potentially allowing an attacker to execute arbitrary commands on the system.
Executive summary
An unauthenticated command injection vulnerability in GitPython poses a high risk to system integrity by allowing attackers to execute arbitrary commands.
Vulnerability
This vulnerability is a Command Injection (CWE-77) flaw occurring when the library fails to properly sanitize options passed to Git. The attack vector is local, meaning it requires access to the environment where the software is executed.
Business impact
The ability for an attacker to inject arbitrary commands into the system presents a severe risk of full system takeover. With a CVSS score of 8.4, this vulnerability could result in the total loss of control over the affected host, enabling data theft or the deployment of persistent malicious payloads.
Remediation
Immediate Action: Update the GitPython library to version 3.1.51 or later to ensure proper command sanitization.
Proactive Monitoring: Review audit logs for suspicious Git operations or unauthorized command execution attempts within the application environment.
Compensating Controls: Restrict local access to the system and ensure that applications utilizing GitPython run with the least privilege necessary to minimize potential impact.
Exploitation status
Public Exploit Available: Unknown
Analyst recommendation
Due to the potential for complete system compromise, organizations should prioritize updating their GitPython dependencies to version 3.1.51. Ensuring that all software components are patched is essential to preventing local exploitation attempts.