CVE-2026-6951: simple-git - Remote Code Execution
- Cve: CVE-2026-6951
- Name: simple-git - Remote Code Execution
- 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.
- Impact: Attackers can execute arbitrary code remotely by exploiting the incomplete fix in options parsing.
- Remediation: Upgrade to version 3.36.0 or later.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00893
- Epss percentile: 0.60355
- Assignee: [email protected]
- Published at: 2026-04-25T06:16:16Z
- Age in days: 213
- Modified at: 2026-11-11T23:10:00Z
- Patch available: yes
- Public exploits total: 3
- References total: 7
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-6951
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-94 | Improper Control of Generation of Code |
| CWE-88 | Improper Neutralization of Argument Delimiters in a Command |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://gist.github.com/KKC73/02d1d97f3410756095b501fda0ac8ca6 | nvd | 2026-04-25 |
| https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-15456078 | nvd | 2026-04-25 |
| https://github.com/EQSTLab/CVE-2026-6951 | poc-in-github | 2026-09-28 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| simple-git_project:simple-git | >= 3.15.0, < 3.36.0 | no | nvd | /v1/products/simple-git_project/simple-git |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| steveukx/git-js | commit, fix, package | yes | /v1/repositories/steveukx/git-js |
Index
- Repositories: 95
- Repositories high signal: 59
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 3
- Public exploit first date: 2026-04-25
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts