CVE-2026-6951

simple-git: simple-git: Remote Code Execution due to incomplete fix bypass

Published Apr 25, 2026 CVSS 4.0 · 9.2 Critical EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-hffm-xvc3-vprc simple-git is vulnerable to Remote Code Execution
History
Type Values Removed Values Added
First Time appeared Simple-git Project
Simple-git Project simple-git
CPEs cpe:2.3:a:simple-git_project:simple-git:*:*:*:*:*:node.js:*:*
Vendors & Products Simple-git Project
Simple-git Project simple-git
Type Values Removed Values Added
Title Residual Command Injection via Incomplete Sanitization of --config in simple‑git Pre‑3.36.0 simple-git: simple-git: Remote Code Execution due to incomplete fix bypass
Weaknesses CWE-88
References
Metrics threat_severity

None

threat_severity

Important

Type Values Removed Values Added
Title Residual Command Injection via Incomplete Sanitization of --config in simple‑git Pre‑3.36.0
Type Values Removed Values Added
First Time appeared Steveukx
Steveukx simple-git
Vendors & Products Steveukx
Steveukx simple-git
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Weaknesses CWE-94
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P'}

cvssV4_0

{'score': 9.2, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Sep 14, 2026, 12:04 PM
Reserved
Apr 24, 2026, 7:25 AM
Status
Modified
Published
Apr 25, 2026, 6:16 AM
Modified
Nov 11, 2026, 11:10 PM
Severity
Important
Public date
Apr 25, 2026, 5:00 AM