Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessControl input reaching simple-git call arguments
-
DeliveryInject --exec into ls-remote/archive/fetch-pack/send-pack
-
ExploitBypass allowUnsafePack guard
-
Executiongit spawns attacker-named program
-
ImpactArbitrary command execution on host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Argument sanitization
|
| Exploitation Conditions | Exploitation requires the application embedding simple-git to pass attacker-influenced data into the arguments of listRemote() or raw() for the ls-remote, archive, fetch-pack, or send-pack operations, enabling injection of the --exec option; prior to 4.1.0 the allowUnsafePack guard blocked --exec only for push, leaving these operations unprotected. The key LIMITING factor (reflected in AC:H/AT:P) is that the consuming application must forward untrusted/unsanitized input into these specific call arguments - it is NOT exploitable where arguments are hardcoded or validated, and there is no network-exposed vulnerable default in the library itself. The only complete fix per vendor is upgrading to simple-git 4.1.0 / @simple-git/argv-parser 3.0.0. |
| Impact | The input rates this CVSS 9.2 (CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N) with vulnerable-system impact VC:H/VI:H/VA:H, and the vuln.today decision label is act_now with a vendor patch available - all pointing to a genuine, high-priority RCE-class issue in a widely used library. However, the signals are not uniformly alarming: PR:N/UI:N means no authentication or user interaction against the flaw itself, but AC:H/AT:P explicitly encode that exploitation is conditional - it only works when the consuming application forwards attacker-influenced data into listRemote() or raw() arguments, which is not the library's default or safe usage. No EPSS score is provided in the input, this CVE is NOT in CISA KEV, and no public exploit was identified, so despite the act_now label there is no evidence of active or widespread exploitation; the urgency derives from severity plus patch availability, not confirmed in-the-wild activity. Net: a real priority for any application that passes untrusted input into simple-git's remote-operation arguments, but the AT:P/AC:H conditionality meaningfully tempers blanket real-world risk for deployments that only pass hardcoded or sanitized arguments. |
| Exploit ScenarioDerived | A Node.js application uses simple-git's listRemote() or raw() to run an operation such as ls-remote against a user-supplied value, and an attacker injects an argument like --exec=/path/to/malicious, which git executes as the program for the remote-side operation, running arbitrary commands on the host. This bypasses the allowUnsafePack guard, which previously blocked --exec only for push. No public exploit was identified, and per CVSS AC:H/AT:P the attack requires the application to forward unsanitized arguments into these functions. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 22, 2026
Argument injection in simple-git before 4.1.0 lets an attacker who controls arguments passed into listRemote() or raw() slip an --exec option into non-push git operations (ls-remote, archive --remote, fetch-pack and send-pack), causing git to run an attacker-named program on the host - a command-execution impact (CVSS 4.0 base 9.2, assessed independently as CVSS:3.1 8.1 with C:H/I:H/A:H). The root cause is that the allowUnsafePack guard only blocked --exec for push, leaving the other commands that also accept --exec unprotected; the companion @simple-git/argv-parser package is affected as well and is fixed in 3.0.0. Practical exposure depends on the consuming application: exploitation only works where untrusted data reaches the arguments of those specific calls, and no public exploit code has been identified at time of analysis, but the vuln.today decision label is act_now with a vendor patch available.
RemediationAI
Upgrade to simple-git 4.1.0 and @simple-git/argv-parser 3.0.0 - per the vendor this is the only complete fix; the correcting change is commit c8ee6bb4dd0c1259af31da821dc68d74ff5d6f10 (see https://github.com/steveukx/git-js/commit/c8ee6bb4dd0c1259af31da821dc68d74ff5d6f10 and the release notes linked above), and it makes allowUnsafePack reject --exec for every command except rebase. Because upgrade coordination across a dependency tree can lag, interim containment must target the actual precondition: audit every call site of listRemote() and raw() and stop passing untrusted or partially concatenated values into them, using fixed arguments, a strict allowlist of refs/remotes/paths, or the library's typed methods instead of raw argument arrays - those paths are not exploitable where arguments are hardcoded or validated, but note that this is a code-change control with no runtime switch, so it does not protect call sites that are missed. Flipping allowUnsafePack does not help on versions before 4.1.0, since the guard never covered these operations.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
simple-git is a Node.js wrapper around the git CLI, and @simple-git/argv-parser is the companion argument-parsing layer that holds the flag denylist logic (packages/argv-parser/src/vulnerabilities/detect-vulnerable-flags.ts). The flaw is CWE-88 (improper neutralization of argument delimiters), not shell string concatenation: git itself treats --exec as naming the remote-side program to run for push, send-pack, fetch-pack, archive --remote and ls-remote, so a crafted argument injected through the API becomes a program-execution primitive on the machine running the library. Prior to 4.1.0 the allowUnsafePack option rejected --exec only in the push path, so the same flag passed to ls-remote, archive, fetch-pack or send-pack bypassed the guard entirely; the upstream changeset states allowUnsafePack now blocks --exec for every command other than rebase, where --exec has different semantics and is governed by allowUnsafeExec. The CVSS:4.0 vector (AV:N/AC:H/AT:P) and the independent assessment both attribute the limiting factor to attack requirements: the embedding application must forward attacker-influenced, unsanitized data into the arguments of listRemote() or raw(); the library has no network-exposed vulnerable default, and code paths with hardcoded or validated arguments are not exploitable. The same upstream release also tightened adjacent vectors (interactive.diffFilter, browser/man tool commands, sendemail and imap config keys, config --rename-section, filter-branch shell options), which indicates this is a hardening release for argument-injection classes broadly rather than a single isolated fix.
Know when Simple Git gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Host command execution gives C/I/A:H and the flaw needs no auth (PR:N), but exploitation depends on the app forwarding attacker-controlled arguments into listRemote()/raw(), so AC:H.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
simple-git before 4.1.0 contains an argument injection vulnerability that allows attackers to bypass the allowUnsafePack guard by supplying the --exec option to non-push git operations. Attackers who influence arguments passed to listRemote() or raw() can inject --exec for ls-remote, archive, fetch-pack or send-pack to execute commands on the host.
Articles & Coverage 2
Executive ViewAI
A critical vulnerability (CVE-2026-134815, CVSS 9.2) in the widely used simple-git library (before 4.1.0) allows an attacker who can influence the arguments to listRemote() or raw() to execute arbitrary commands on the host. Applications that pass untrusted data into these functions are at risk of full system compromise. Leadership should prioritize identification and patching of affected systems, as exploitation could lead to unauthorized access and data breach.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
More in Simple Git
View allCommand injection in simple-git, the Node.js library for running git commands and published on npm, affects all releases
simple-git Node.js library has a command injection vulnerability (EPSS with patch) enabling RCE when processing untruste
The package simple-git before 3.15.0 are vulnerable to Remote Code Execution (RCE) when enabling the ext transport proto
The package simple-git before 3.5.0 are vulnerable to Command Injection due to an incomplete fix of [CVE-2022-24433](htt
Command injection in the simple-git Node.js library (versions 3.15.0 through 4.0.0) allows remote, unauthenticated attac
Untrusted git configuration includes reachable through simple-git before 4.0.0 let an attacker execute arbitrary command
The package simple-git before 3.3.0 are vulnerable to Command Injection via argument injection. Rated critical severity
Remote code execution in simple-git before 3.36.0 allows unauthenticated attackers to execute arbitrary commands via inc
EUVD-2026-132848
GHSA-24pq-g7mp-w876
NVD
CVE.org
EPSS
Exploit-DB