CVE-2026-67324: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in gitpython-developers GitPython
GitPython version 3.1.50 contains an OS command injection vulnerability due to improper handling of joined short-option forms like -u<value> in its clone_from method. This allows an attacker to bypass the unsafe-option gate and execute arbitrary commands during a Git clone operation. The issue is fixed in version 3.1.51.
AI Analysis
Technical Summary
GitPython 3.1.50 fails to properly recognize joined short-option forms such as -u<value> (the short form of --upload-pack=<value>) when enforcing its default unsafe-option gate in the Repo.clone_from method. This flaw allows an attacker who can influence clone options to supply -u<helper> and bypass the blocking of --upload-pack/-u options, causing Git to execute the specified helper command during cloning. This is an OS command injection vulnerability. The vulnerability is fixed in GitPython version 3.1.51.
Potential Impact
An attacker able to supply clone options to the vulnerable GitPython 3.1.50 can bypass safety checks and cause arbitrary OS command execution during a Git clone operation. This can lead to full system compromise without requiring user interaction or privileges, making the vulnerability critical.
Mitigation Recommendations
Upgrade GitPython to version 3.1.51 or later, where this vulnerability is fixed. There is no indication of alternative mitigations or temporary workarounds. Patch status is confirmed fixed in 3.1.51.
CVE-2026-67324: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in gitpython-developers GitPython
Description
GitPython version 3.1.50 contains an OS command injection vulnerability due to improper handling of joined short-option forms like -u<value> in its clone_from method. This allows an attacker to bypass the unsafe-option gate and execute arbitrary commands during a Git clone operation. The issue is fixed in version 3.1.51.
CVSS v4.0
Score 9.3critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
GitPython 3.1.50 fails to properly recognize joined short-option forms such as -u<value> (the short form of --upload-pack=<value>) when enforcing its default unsafe-option gate in the Repo.clone_from method. This flaw allows an attacker who can influence clone options to supply -u<helper> and bypass the blocking of --upload-pack/-u options, causing Git to execute the specified helper command during cloning. This is an OS command injection vulnerability. The vulnerability is fixed in GitPython version 3.1.51.
Potential Impact
An attacker able to supply clone options to the vulnerable GitPython 3.1.50 can bypass safety checks and cause arbitrary OS command execution during a Git clone operation. This can lead to full system compromise without requiring user interaction or privileges, making the vulnerability critical.
Mitigation Recommendations
Upgrade GitPython to version 3.1.51 or later, where this vulnerability is fixed. There is no indication of alternative mitigations or temporary workarounds. Patch status is confirmed fixed in 3.1.51.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-07-29T13:07:21.184Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a6deb26bf32cb7a34c1fc11
Added to database: 08/01/2026, 12:48:38 UTC
Last enriched: 08/01/2026, 13:04:22 UTC
Last updated: 08/01/2026, 14:08:39 UTC
Views: 12
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.