CVE-2026-6951: Remote Code Execution (RCE) in simple-git
Versions of the package simple-git before 3.36.0 are vulnerable to Remote Code Execution (RCE) due to an incomplete fix for [CVE-2022-25912](https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-3112221) that blocks the -c option but not the equivalent --config form. If untrusted input can reach the options argument passed to simple-git, an attacker may still achieve remote code execution by enabling protocol.ext.allow=always and using an ext:: clone source.
AI Analysis
Technical Summary
CVE-2026-6951 affects simple-git versions prior to 3.36.0. It is a remote code execution vulnerability stemming from an incomplete fix for CVE-2022-25912. While the earlier fix blocked the -c option, it did not block the equivalent --config form. This allows an attacker who can supply untrusted input to the options argument to enable protocol.ext.allow=always and specify an ext:: clone source, potentially leading to remote code execution. The vulnerability has a CVSS 4.0 base score of 9.2, indicating critical severity.
Potential Impact
If exploited, this vulnerability allows an unauthenticated attacker to execute arbitrary code remotely via crafted input to the options argument in simple-git. This can lead to full system compromise where simple-git is used with untrusted input. There are no known exploits in the wild as of the published date.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The Red Hat advisory does not explicitly state a fix or workaround. Users should avoid passing untrusted input to the options argument in simple-git until a fix is available.
CVE-2026-6951: Remote Code Execution (RCE) in simple-git
Description
Versions of the package simple-git before 3.36.0 are vulnerable to Remote Code Execution (RCE) due to an incomplete fix for [CVE-2022-25912](https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-3112221) that blocks the -c option but not the equivalent --config form. If untrusted input can reach the options argument passed to simple-git, an attacker may still achieve remote code execution by enabling protocol.ext.allow=always and using an ext:: clone source.
CVSS v4.0
Score 9.2critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-6951 affects simple-git versions prior to 3.36.0. It is a remote code execution vulnerability stemming from an incomplete fix for CVE-2022-25912. While the earlier fix blocked the -c option, it did not block the equivalent --config form. This allows an attacker who can supply untrusted input to the options argument to enable protocol.ext.allow=always and specify an ext:: clone source, potentially leading to remote code execution. The vulnerability has a CVSS 4.0 base score of 9.2, indicating critical severity.
Potential Impact
If exploited, this vulnerability allows an unauthenticated attacker to execute arbitrary code remotely via crafted input to the options argument in simple-git. This can lead to full system compromise where simple-git is used with untrusted input. There are no known exploits in the wild as of the published date.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The Red Hat advisory does not explicitly state a fix or workaround. Users should avoid passing untrusted input to the options argument in simple-git until a fix is available.
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
- Epss Score
- 0.00085
- Epss Percentile
- 0.2445
- Epss Date
- 2026-04-26
- Gcve Source
- db.gcve.eu
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-6951","vendor":"Red Hat"}]
Threat ID: 69ec52c387115cfb68273f89
Added to database: 04/25/2026, 05:36:03 UTC
Last enriched: 07/22/2026, 22:51:23 UTC
Last updated: 07/31/2026, 19:23:00 UTC
Views: 739
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.