Skip to content
CVE-2026-134815 (CVSS 9.2) simple-git Argument Injection Red/Blue Team Toolkit. RCE ...

CVE-2026-134815 (CVSS 9.2) simple-git Argument Injection Red/Blue Team Toolkit. RCE ...

Github • November 26, 2026

Ethical Use Only - Authorized Tests This repository provides tools for authorized security professionals, red teams, and blue teams only. Unauthorized access to computer systems is illegal under CFAA (US), Computer Misuse Act (UK), TCK 243/244 (Turkey), and similar laws worldwide.

Ethical Use Only - Authorized Tests

This repository provides tools for authorized security professionals, red teams, and blue teams only. Unauthorized access to computer systems is illegal under CFAA (US), Computer Misuse Act (UK), TCK 243/244 (Turkey), and similar laws worldwide.

[i] Vulnerability Overview

CVE-2026-134815 is a critical unauthenticated Argument Injection (CWE-88) in simple-git , a popular Node.js library for running Git commands. It allows an attacker to bypass the allowUnsafePack guard and execute arbitrary commands on the host. CVSS score: 9.2 (Critical) .

The flaw affects simple-git versions before 4.1.0 and @simple-git/argv-parser versions before 3.0.0 . The root cause is that allowUnsafePack blocks the --exec argument only for the push command . Git also accepts --exec for ls-remote , archive , fetch-pack , and send-pack . When an application forwards attacker-influenced arguments into raw() or listRemote() , the attacker selects the executable Git invokes[reference:4].

This is not a memory corruption bug; it is a logic flaw in argument validation . It is easy to exploit if the application exposes an endpoint that passes user input to listRemote() or raw() . CI/CD pipelines are prime targets because they often run Git commands on attacker-controlled repositories and hold deployment credentials, cloud tokens, and repository write access.

Attacker controls input - A Node.js application forwards a user-supplied value to git.listRemote() or git.raw() .

Bypass guard - The attacker injects --exec= . The allowUnsafePack guard only checks push , so the option is accepted for ls-remote , archive , fetch-pack , or send-pack .

Git executes - simple-git passes the argument to Git without sanitization. Git runs the named program on the host.

Post-exploitation - The attacker can steal credentials, establish persistence, or move laterally.

simple-git - < 4.1.0 (fixed in 4.1.0 , commit c8ee6bb )

@simple-git/argv-parser - < 3.0.0 (fixed in 3.0.0 )

Upgrade to simple-git 4.1.0+ and @simple-git/argv-parser 3.0.0+ .

If upgrade is not possible: Prevent untrusted input from controlling arguments passed to listRemote() or raw() . Use application-defined argument allowlists and reject executable-selection options including --exec .

Prevent untrusted input from controlling arguments passed to listRemote() or raw() .

Use application-defined argument allowlists and reject executable-selection options including --exec .

[C] Feature Comparison

[E] Exploitation Chain

Only use these tools on systems you own or have explicit written permission to test.

Unauthorized access is illegal and unethical.

The authors are not responsible for any misuse.

Always follow your country's laws and regulations.

This software is provided for educational purposes and authorized security testing only .

Extracted Entities

Attack Types (1)

CWE Weaknesses (1)

Platforms (2)

Vulnerabilities (1)