home / blog

2026-11-23 · high

CVE-2026-134815: Remote Code Execution in simple-git

Critical vulnerability in simple-git: CVE-2026-134815 allows RCE in versions prior to 4.1.0.

CVE-2026-134815: Remote Code Execution in simple-git

CVE-2026-134815 is a critical vulnerability present in simple-git in versions prior to 4.1.0. The flaw allows attackers to bypass the allowUnsafePack security mechanism by injecting the --exec option into non-push git operations such as ls-remote, archive, fetch-pack, or send-pack, thus enabling arbitrary command execution on the host system.

The vulnerability is scored 8.1 in the CVSS rating, classifying it as high. Recent signals indicate that public exploits are already available on platforms like GitHub, increasing the concrete risk of active exploitation. The vulnerability has been officially confirmed and cataloged by the National Vulnerability Database on November 22, 2026.

In defense, it is crucial to immediately update all instances of simple-git to version 4.1.0 or later. Verify project dependencies to identify any use of vulnerable versions. Also implement additional controls on git operations executed, especially when arguments come from untrusted sources, to mitigate potential other attack vectors.

At a glance

What
Argument injection vulnerability in simple-git that allows bypassing the allowUnsafePack guard and executing commands on the system
Severity
High (CVSS 8.1)
Affected versions
All versions prior to 4.1.0
Fix
Update to version 4.1.0 or later
Status
Published (2026-11-22)
Action
Immediately update to version 4.1.0 or later

Sources: NVD, CVE-2026-134815

← All articles