Vulnerability · Published Apr 25, 2026 · Assigned by snyk

CVE-2026-6951

Critical 9.8

In plain English

A critical-severity code injection in org.webjars.npm:simple-git. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 59% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)0.9%top 40.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmsimple-git3.36.0GHSA-hffm-xvc3-vprc

Affected products (as reported)

VendorProductVersions
n/a simple-git 0 – before 3.36.0
n/a org.webjars.npm:simple-git 0 – before *

Weakness: CWE-94, CWE-88 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P

References