CVE-2026-76220: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') in gitpython-developers GitPython
GitPython before 3.1.58 contains a command execution vulnerability in the check_unsafe_options guard that can be bypassed by combining a single-character kwarg with split_single_char_options=False. Attackers can supply a crafted kwargs dictionary to guarded methods like clone_from to emit a joined token parsed as --upload-pack, enabling arbitrary OS command execution at default allow_unsafe_options=False.
AI Analysis
Technical Summary
CVE-2026-76220 is a command injection vulnerability in GitPython prior to version 3.1.58. The issue arises from improper neutralization of argument delimiters in the check_unsafe_options guard, which can be bypassed by combining a single-character keyword argument with split_single_char_options=false. This allows an attacker to craft a kwargs dictionary that emits a joined token parsed as --upload-pack, leading to arbitrary OS command execution. The vulnerability affects guarded methods such as clone_from when invoked with default allow_unsafe_options=false.
Potential Impact
Successful exploitation allows an attacker with limited privileges (PR:L) and no user interaction (UI:N) to execute arbitrary operating system commands remotely (AV:N) with high impact on confidentiality, integrity, and availability. This can lead to full compromise of the affected system running vulnerable GitPython versions prior to 3.1.58.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid using untrusted input in kwargs passed to guarded methods like clone_from, especially when using split_single_char_options=false. Monitor vendor channels for updates and apply patches promptly once released.
CVE-2026-76220: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') in gitpython-developers GitPython
Description
GitPython before 3.1.58 contains a command execution vulnerability in the check_unsafe_options guard that can be bypassed by combining a single-character kwarg with split_single_char_options=False. Attackers can supply a crafted kwargs dictionary to guarded methods like clone_from to emit a joined token parsed as --upload-pack, enabling arbitrary OS command execution at default allow_unsafe_options=False.
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-76220 is a command injection vulnerability in GitPython prior to version 3.1.58. The issue arises from improper neutralization of argument delimiters in the check_unsafe_options guard, which can be bypassed by combining a single-character keyword argument with split_single_char_options=false. This allows an attacker to craft a kwargs dictionary that emits a joined token parsed as --upload-pack, leading to arbitrary OS command execution. The vulnerability affects guarded methods such as clone_from when invoked with default allow_unsafe_options=false.
Potential Impact
Successful exploitation allows an attacker with limited privileges (PR:L) and no user interaction (UI:N) to execute arbitrary operating system commands remotely (AV:N) with high impact on confidentiality, integrity, and availability. This can lead to full compromise of the affected system running vulnerable GitPython versions prior to 3.1.58.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid using untrusted input in kwargs passed to guarded methods like clone_from, especially when using split_single_char_options=false. Monitor vendor channels for updates and apply patches promptly once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-19T11:35:13.689Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a85bc7aacd9273b492f49bc
Added to database: 08/19/2026, 14:23:54 UTC
Last enriched: 08/19/2026, 14:40:35 UTC
Last updated: 08/20/2026, 04:07:55 UTC
Views: 4
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.