Skip to main content

simple-git CVE-2026-134815

| EUVDEUVD-2026-132848 CRITICAL
Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') (CWE-88)
2026-11-22 VulnCheck GHSA-24pq-g7mp-w876
9.2
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Control input reaching simple-git call arguments
  2. Delivery
    Inject --exec into ls-remote/archive/fetch-pack/send-pack
  3. Exploit
    Bypass allowUnsafePack guard
  4. Execution
    git spawns attacker-named program
  5. Impact
    Arbitrary 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.8% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

@simple-git/argv-parser 0 <3.0.0
simple-git 0 <4.1.0

Affected Packages

euvd simple_git fix: 4.1.0
euvd simple_git_argv_parser fix: 3.0.0

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

Vendor (VulnCheck) PRIMARY 9.2 CRITICAL
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
vuln.today AI 8.1 HIGH

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.8%
Top 44% exploitable
Prevalence
High
very popular npm git wrapper with millions of weekly downloads
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.8%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy