CVE-2026-6951: Vulnerability in Simple-git Project Simple-git
Critical. 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 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.
npm, CWE-94, CWE-88
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-hffm-xvc3-vprc
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-94, CWE-88
- Published
- 25 Apr 2026
- Last change
- 11 Nov 2026
- Ecosystem
- npm
Affected products
Affected versions and the first fixed release
- Simple-git Project Simple-git From 3.15.0 before 3.36.0. Fixed in 3.36.0
Affected packages
Vulnerable version ranges and fixed releases
- simple-git npm, Affected before 3.36.0. Fixed in 3.36.0
Advisories
Vendor and security advisories
- gist.github.com/KKC73/02d1d97f3410756095b501fda0ac8ca6
- security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-15456078
- security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-16300211
Patches and fixes
Updates, commits and release notes
Related
- Simple-git vulnerabilities Recent advisories, watch this product