CVE-2026-6951 Details
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.
A remote code execution vulnerability exists in the simple-git package, specifically in versions prior to 3.36.0. This vulnerability arises from an incomplete fix for a previous issue that allowed the --config option to bypass security measures. If untrusted input reaches the options argument in the clone function, an attacker could exploit this by enabling protocol.ext.allow=always and using an ext:: clone source.
Users are advised to upgrade simple-git to version 3.36.0 or later.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 25, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2026-6951 | redhat-SADP | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2461750 | redhat-SADP | |
| https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6951.json | redhat-SADP | |
| https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-15456078 | CISA-ADP | ExploitThird Party Advisory |
| https://gist.github.com/KKC73/02d1d97f3410756095b501fda0ac8ca6 | [email protected] | ExploitThird Party Advisory |
| https://github.com/steveukx/git-js/commit/89a2294febed5dfe737c4c735d936bb6018746a8 | [email protected] | Patch |
| https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-16300211 | [email protected] | |
| https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-15456078 | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-88 | Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') | redhat-SADP |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| simple-git project simple-git | >= 3.15.0, < 3.36.0 |
CPE
Remediation
| |
Change History
9 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 15, 2026 | CVE Modified | redhat-SADP |
| Jun 30, 2026 | CVE Modified | redhat-SADP |
| Jun 29, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| May 18, 2026 | Initial Analysis | [email protected] |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Apr 25, 2026 | CVE Modified | CISA-ADP |
| Apr 25, 2026 | New CVE Received | [email protected] |