CVE-2026-73625: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in gitpython-developers GitPython
GitPython versions before 3.1.54 contain a remote code execution vulnerability due to improper neutralization of special elements in OS commands. This vulnerability allows attackers to bypass the check_unsafe_options guard by smuggling git options inside single-character keyword argument values. Crafted option dictionaries supplied to various GitPython methods can lead to arbitrary OS command execution via the --upload-pack parameter.
AI Analysis
Technical Summary
CVE-2026-73625 is an OS command injection vulnerability in GitPython prior to version 3.1.54. The vulnerability arises because the check_unsafe_options guard can be bypassed by embedding git options within single-character keyword argument values. This allows attackers to supply specially crafted option dictionaries to methods such as clone_from, fetch, pull, push, ls_remote, iter_commits, blame, or archive, resulting in arbitrary OS command execution through the --upload-pack parameter.
Potential Impact
Successful exploitation of this vulnerability enables remote code execution with low attack complexity and no user interaction required. The attacker can execute arbitrary OS commands on the system running the vulnerable GitPython version, potentially leading to full system compromise or unauthorized actions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix or patch is released, avoid using vulnerable GitPython versions in untrusted environments or restrict usage to trusted inputs only.
CVE-2026-73625: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in gitpython-developers GitPython
Description
GitPython versions before 3.1.54 contain a remote code execution vulnerability due to improper neutralization of special elements in OS commands. This vulnerability allows attackers to bypass the check_unsafe_options guard by smuggling git options inside single-character keyword argument values. Crafted option dictionaries supplied to various GitPython methods can lead to arbitrary OS command execution via the --upload-pack parameter.
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-73625 is an OS command injection vulnerability in GitPython prior to version 3.1.54. The vulnerability arises because the check_unsafe_options guard can be bypassed by embedding git options within single-character keyword argument values. This allows attackers to supply specially crafted option dictionaries to methods such as clone_from, fetch, pull, push, ls_remote, iter_commits, blame, or archive, resulting in arbitrary OS command execution through the --upload-pack parameter.
Potential Impact
Successful exploitation of this vulnerability enables remote code execution with low attack complexity and no user interaction required. The attacker can execute arbitrary OS commands on the system running the vulnerable GitPython version, potentially leading to full system compromise or unauthorized actions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix or patch is released, avoid using vulnerable GitPython versions in untrusted environments or restrict usage to trusted inputs only.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-13T11:17:25.160Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a7dbdfdbf8831d5393226cd
Added to database: 08/13/2026, 12:52:13 UTC
Last enriched: 08/13/2026, 12:57:08 UTC
Last updated: 08/13/2026, 18:14:35 UTC
Views: 7
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.