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

Patches and fixes

Updates, commits and release notes

Related