CVE-2026-6951: Remote Code Execution (RCE) in simple-git
simple-git versions prior to 3. 36. 0 contain a remote code execution vulnerability due to an incomplete fix for a previous issue (CVE-2022-25912). The vulnerability arises because the mitigation only blocked the '-c' option but not the equivalent '--config' form, allowing an attacker to enable a dangerous Git configuration and execute arbitrary code if untrusted input reaches the options argument. This vulnerability has a critical severity with a CVSS score of 9. 2.
AI Analysis
Technical Summary
The simple-git package before version 3.36.0 is vulnerable to remote code execution because an incomplete fix for CVE-2022-25912 failed to block the '--config' option equivalent to the '-c' option. This allows an attacker who can influence the options argument passed to simple-git to enable 'protocol.ext.allow=always' and use an 'ext::' clone source to execute arbitrary code remotely. The vulnerability is network exploitable without privileges or user interaction and has a high impact on confidentiality, integrity, and availability.
Potential Impact
An attacker able to supply untrusted input to the options argument of simple-git can execute arbitrary code remotely, potentially compromising the affected system fully. The vulnerability affects confidentiality, integrity, and availability with high impact, making it critical to address in environments using vulnerable versions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vulnerability affects versions before 3.36.0, upgrading to version 3.36.0 or later (once available) is expected to resolve the issue. Until an official fix is confirmed, avoid passing untrusted input to the options argument in simple-git.
CVE-2026-6951: Remote Code Execution (RCE) in simple-git
Description
simple-git versions prior to 3. 36. 0 contain a remote code execution vulnerability due to an incomplete fix for a previous issue (CVE-2022-25912). The vulnerability arises because the mitigation only blocked the '-c' option but not the equivalent '--config' form, allowing an attacker to enable a dangerous Git configuration and execute arbitrary code if untrusted input reaches the options argument. This vulnerability has a critical severity with a CVSS score of 9. 2.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The simple-git package before version 3.36.0 is vulnerable to remote code execution because an incomplete fix for CVE-2022-25912 failed to block the '--config' option equivalent to the '-c' option. This allows an attacker who can influence the options argument passed to simple-git to enable 'protocol.ext.allow=always' and use an 'ext::' clone source to execute arbitrary code remotely. The vulnerability is network exploitable without privileges or user interaction and has a high impact on confidentiality, integrity, and availability.
Potential Impact
An attacker able to supply untrusted input to the options argument of simple-git can execute arbitrary code remotely, potentially compromising the affected system fully. The vulnerability affects confidentiality, integrity, and availability with high impact, making it critical to address in environments using vulnerable versions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vulnerability affects versions before 3.36.0, upgrading to version 3.36.0 or later (once available) is expected to resolve the issue. Until an official fix is confirmed, avoid passing untrusted input to the options argument in simple-git.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- snyk
- Date Reserved
- 2026-04-24T07:25:39.128Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69ec52c387115cfb68273f89
Added to database: 4/25/2026, 5:36:03 AM
Last enriched: 4/25/2026, 5:51:00 AM
Last updated: 4/25/2026, 7:42:09 AM
Views: 179
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.