CVE-2026-67325: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in gitpython-developers GitPython
GitPython before 3.1.51 contains an incomplete command injection blocklist that fails to account for git's long-option prefix abbreviation feature. Attackers can bypass the unsafe options guard by using abbreviated option names like upload_p instead of upload_pack, which git resolves to dangerous options and executes arbitrary commands.
AI Analysis
Technical Summary
CVE-2026-67325 is an OS command injection vulnerability in GitPython prior to version 3.1.51. The issue arises because the blocklist intended to prevent unsafe git command options does not account for git's long-option prefix abbreviation feature. Attackers can exploit this by using abbreviated option names such as 'upload_p' instead of 'upload_pack', which git interprets as the full dangerous option, enabling arbitrary command execution.
Potential Impact
Successful exploitation allows an attacker with limited privileges to execute arbitrary OS commands via crafted git options that bypass the blocklist. This can lead to high impact including system compromise or unauthorized actions on the host running the vulnerable GitPython version.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid using vulnerable GitPython versions or restrict usage to trusted inputs only.
CVE-2026-67325: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in gitpython-developers GitPython
Description
GitPython before 3.1.51 contains an incomplete command injection blocklist that fails to account for git's long-option prefix abbreviation feature. Attackers can bypass the unsafe options guard by using abbreviated option names like upload_p instead of upload_pack, which git resolves to dangerous options and executes arbitrary commands.
CVSS v4.0
Score 8.7high
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
CVE-2026-67325 is an OS command injection vulnerability in GitPython prior to version 3.1.51. The issue arises because the blocklist intended to prevent unsafe git command options does not account for git's long-option prefix abbreviation feature. Attackers can exploit this by using abbreviated option names such as 'upload_p' instead of 'upload_pack', which git interprets as the full dangerous option, enabling arbitrary command execution.
Potential Impact
Successful exploitation allows an attacker with limited privileges to execute arbitrary OS commands via crafted git options that bypass the blocklist. This can lead to high impact including system compromise or unauthorized actions on the host running the vulnerable GitPython version.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid using vulnerable GitPython versions or restrict usage to trusted inputs only.
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: 6a6deb26bf32cb7a34c1fc15
Added to database: 08/01/2026, 12:48:38 UTC
Last enriched: 08/01/2026, 13:04:17 UTC
Last updated: 08/01/2026, 21:21:02 UTC
Views: 6
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.