Skip to content
Security Alerts

CVE-2026-6951: RCE in npm simple-git via incomplete fix bypass

simple-git versions before 3.36.0 are vulnerable to remote code execution (RCE) due to an incomplete fix for CVE-2022-25912 that blocks -c but not the equivalent --config form...

Summary

ParameterValue
CVE IDCVE-2026-6951
Alert SourceGitHub Advisory - Critical Vulnerability
CVE Publication Year2026
Date Published2026-04-25
Vendornpm
Productsimple-git
CVSS Score9.8 (critical)
EPSS ScoreNo data
CISA KEVNo
RansomwareNot confirmed

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

Required Actions

Update the simple-git dependency in your project to version 3.36.0 or later immediately. Review application code for places that pass user-controlled values into the simple-git options argument and add validation/allowlisting of parameters. Scan dependent projects (npm audit, npm ls simple-git) and deployed systems.

Who Is Affected?

This vulnerability affects the simple-git package published in the npm registry at versions before 3.36.0. Check whether your Node.js applications depend on this package (commonly used in devops tooling and CI/CD) and update the dependency immediately.

Sources


Need help securing your systems? nFlo team offers vulnerability management and 24/7 SOC services. Contact us.

Learn More

Share:

Talk to an expert

Have questions about this topic? Get in touch with our specialist.

Sales Representative
Grzegorz Gnych

Grzegorz Gnych

Sales Representative

Response within 24 hours
Free consultation
Individual approach

Providing your phone number will speed up contact.

Want to Reduce IT Risk and Costs?

Book a free consultation - we respond within 24h

Response in 24h Free quote No obligations

Or download free guide:

Download NIS2 Checklist