CVE-2026-6951
published critical CVSS 4.0 · 9.2simple-git: Remote Code Execution due to incomplete fix bypass
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | simple-git0 to < 3.36.0 | Affected | Not stated | snyk |
| n/a | — | org.webjars.npm:simple-git0 and later | Affected | Not stated | snyk |
| Red Hat Enterprise Linux | 8 | grafana | Affected | Not stated | redhat-SADP |
| Red Hat Enterprise Linux | 9 | grafana | Unaffected | Not required | redhat-SADP |
| Red Hat | — | simple-gitRed Hat JBoss Enterprise Application Platform 8 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | simple-gitRed Hat JBoss Enterprise Application Platform Expansion Pack | Unaffected | Not required | redhat-SADP |
| Red Hat | — | simple-gitRed Hat Process Automation 7 | Unaffected | Not required | redhat-SADP |
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 flaw was found in simple-git. A remote attacker could exploit this vulnerability by providing specially crafted input to the options argument, bypassing a previous security fix. This incomplete fix allows an attacker to enable certain protocol extensions, which could lead to remote code execution.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.2 / 10
- Severity
- critical
- Provider
- snyk · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 9.8 | critical | snyk · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P | — |
| 3.1 | 8.8 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | simple-git | 0 to < 3.36.0 (affected · semver) | snyk · cna |
| n/a | org.webjars.npm:simple-git | 0 and later (affected · semver) | snyk · cna |
| Red Hat | Red Hat Enterprise Linux 8 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 9 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat JBoss Enterprise Application Platform Expansion Pack | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Process Automation 7 | Default: unaffected | redhat-SADP · adp |
Weaknesses
2- CWE-94 Remote Code Execution (RCE)
- CWE-88 Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
References
7- https://access.redhat.com/security/cve/CVE-2026-6951
- RHBZ#2461750 https://bugzilla.redhat.com/show_bug.cgi?id=2461750
- https://gist.github.com/KKC73/02d1d97f3410756095b501fda0ac8ca6
- https://github.com/steveukx/git-js/commit/89a2294febed5dfe737c4c735d936bb6018746a8
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6951.json
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-16300211
- https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-15456078
Provider assertions
3snyk · cna
redhat-SADP · adp
simple-git: simple-git: Remote Code Execution due to incomplete fix bypass
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- de25173c0337c7f685d96865c6884608d942e31a610a7705a697c354c2f0f137
- Ingested
- 23 Sep 2026, 09:28:47 UTC
- Source record
- Official CVE record