CVE-2026-6951

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:simple-git_project:simple-git:*:*:*:*:*:node.js:*:*

History

No history.

Information

Published : 2026-04-25 06:16

Updated : 2026-07-15 01:16


NVD link : CVE-2026-6951

Mitre link : CVE-2026-6951

CVE.ORG link : CVE-2026-6951


JSON object : View

Products Affected

simple-git_project

  • simple-git
CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')

CWE-88

Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')