SecOraLens
CriticalCVE

Critical Node.js simple-git Library Vulnerability Enables Remote Code Execution Attacks

Cyber Security News·Source published ·1 min read

What happened?

A critical flaw in simple-git, a popular Node.js library for running Git commands, can let attackers run their own commands on a server. The issue is tracked as CVE-2026-134815. It affects apps that pass untrusted input into Git arguments. The National Vulnerability Database says simple-git versions before 4.1.0 contain an argument injection weakness, listed as CWE-88. In plain terms, the library does not properly separate user-supplied text from the options it sends to Git. VulnCheck, which assigned the CVE, rated it 9.2 (Critical) on the CVSS 4.0 scale.

Key details

  • The flaw exists in versions before 4.1.0 and is rated CVSS 4.0 9.2 Critical.
  • The allowUnsafePack guard only blocked --exec for push, leaving other commands exposed.
  • Both simple-git and @simple-git/argv-parser must be upgraded together.

What is affected?

  • simple-git versions before 4.1.0
  • @simple-git/argv-parser versions before 3.0.0

How do I fix or mitigate it?

  1. Upgrade to simple-git 4.1.0 and @simple-git/argv-parser 3.0.0 or later.
  2. Avoid passing raw user input into listRemote() or raw(); validate against allowed URLs and branches.

Summarised by SecOraLens from Cyber Security News. Always read the original source before acting. How SecOraLens verifies advisories.

What to do next

For CISOs and SOC leads

Brief your board. Brief your team.

Executive risk briefs for governance, technical kill-chains for the SOC — delivered as advisories publish. Critical alerts within 1 hour. No spam, unsubscribe anytime.