CVE-2026-73625
8.8GitPython Developers · GitPython
GitPython is susceptible to OS command injection due to improper neutralization of special elements in kwarg values.
Executive summary
A critical OS command injection vulnerability in GitPython allows authenticated attackers to execute arbitrary commands on the underlying host system.
Vulnerability
The flaw is an OS command injection (CWE-78) occurring when handling specific keyword arguments, which allows an authenticated user to escape intended execution boundaries.
Business impact
The ability to inject OS commands poses a severe risk to confidentiality, integrity, and availability. Successful exploitation allows an attacker to gain full control over the application server, potentially leading to unauthorized data access, lateral movement within the network, or complete system compromise. Given the CVSS score of 8.8, this vulnerability is classified as High severity and requires immediate attention to prevent unauthorized access.
Remediation
Immediate Action: Update the GitPython library to version 3.1.54 or later.
Proactive Monitoring: Monitor server logs for suspicious shell process spawns or unauthorized command execution patterns.
Compensating Controls: Ensure the application runs with the least privilege necessary, restricting the service account from executing shell commands or accessing sensitive directories.
Exploitation status
Public Exploit Available: No confirmed public exploit (no weaponized module or curated PoC confirmed in available data).
Analyst recommendation
Organizations utilizing GitPython must prioritize updating to version 3.1.54. This vulnerability presents a significant risk for remote code execution, and patching is the only effective way to neutralize the flaw at the source.