Skip to main content

@mborne/extract CVE-2026-110639

| EUVDEUVD-2026-101267 CRITICAL
OS Command Injection (CWE-78)
2026-10-14 VulnCheck GHSA-chf7-hjrj-qwh8
9.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Pass untrusted archivePath/targetDir to extract()
  2. Exploit
    Inject shell metacharacters into unquoted shelljs exec() string
  3. Execution
    Shell spawns attacker-controlled OS commands
  4. Impact
    Execute code with Node.js process privileges

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the application embedding @mborne/extract (versions before 0.2.1) passes attacker-controlled values as the archivePath or targetDir options to extract(), and that one of the affected code paths runs - the unzip, 7z, tar-bz2, or gz extractor (the 7z path additionally requires the 7z binary to be installed). The injected commands execute in the Node.js process's current working directory with its privileges. The key LIMITING factor is that this is a library with no standalone attack surface: if the integrating application only ever passes trusted, application-generated paths, the flaw is not reachable. There is no required user interaction or authentication within the library itself, but the vector depends entirely on the host application's input handling.

Impact

This is a textbook CWE-78 OS command injection in a Node.js library, scored 9.3 (CVSS 4.0: AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H). The source diff confirms the root cause: user-supplied archivePath/targetDir values were concatenated directly into unquoted shelljs exec() command strings across four extractors (unzip, 7z, tar-bz2, gz), so shell metacharacters and leading-dash option injection both work. The technical impact is high across confidentiality, integrity and availability because injected commands run with full Node.js process privileges. However, the raw CVSS signals OVERSTATE universal remote risk: this is a LIBRARY, not a network service. Exploitation requires the CONSUMING application to pass attacker-controlled values into extract(), so real-world severity is entirely dependent on how downstream apps wire user input (e.g., uploaded filenames) into these options. No EPSS score, KEV listing, or SSVC decision data was provided, and the product is an obscure individually-maintained npm package with a small deployment footprint - so despite the critical technical score, this is more likely a targeted/supply-chain concern than a mass-exploited internet-wide issue. The injection technique is fully disclosed in the public patch diff and committed security test, even though no separate exploit-availability flag was provided.

Exploit ScenarioDerived

A web application uses @mborne/extract to unpack user-uploaded archives and passes the uploaded filename or a user-chosen destination directly as archivePath or targetDir. An attacker uploads (or names) an archive like '-o a b;touch pwned;$(id)' so that when extract() builds the unquoted shelljs exec() string, the shell interprets the metacharacters and executes arbitrary commands with the Node.js process's privileges. The exact injection payloads are publicly demonstrated in the fix's committed security test, lowering the effort to reproduce.

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

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

Alert me

AnalysisAIv1 – Oct 14, 2026

OS command injection in @mborne/extract versions before 0.2.1 lets an attacker execute arbitrary shell commands with the Node.js process's privileges by supplying shell metacharacters in the archivePath or targetDir options passed to extract(). The flaw is unauthenticated (CVSS 4.0 vector AV:N/AC:L/AT:N/PR:N/UI:N) and scored 9.3, with full confidentiality, integrity, and availability impact to the host process, though it is a library with no standalone attack surface - it is only reachable when the integrating application forwards attacker-controlled values into one of the affected extractor paths (unzip, 7z, tar-bz2, or gz; the 7z path additionally requires the 7z binary). No public exploit code was identified at time of analysis, so exploitation is contingent on the host application's input handling rather than on any inherently exposed service.

RemediationAI

Vendor-released patch: upgrade @mborne/extract to 0.2.1, the first release containing the fix (see https://github.com/mborne/node-extract/releases/tag/v0.2.1). The change is available as GitHub PR https://github.com/mborne/node-extract/pull/8 and commit 585e5b29657379e73c04f6f950ea8dc5319f8ae1; the fix switches the unzip, 7z, tar-bz2, and gz extractors from shelljs exec() string concatenation to child_process.execFileSync with argument arrays, pipes gz output through a file descriptor instead of a shell redirect, and applies path.resolve() to archivePath and targetDir so values cannot be interpreted as command-line options. If an immediate upgrade is not possible, the actionable compensating controls are: validate and reject archivePath/targetDir values containing shell metacharacters or leading dashes, and force them to absolute, allowlisted paths inside a dedicated extraction directory before calling extract() - the trade-off is that overly strict rejection can break legitimate archives whose filenames contain spaces or special characters, so prefer an allowlist over a blocklist; never forward raw user input (HTTP parameters, uploaded metadata, filenames from untrusted manifests) directly into the options object; and run the embedding Node.js process with the least privilege and in a restricted working directory, since injected commands execute in that process's current working directory with its privileges. Disabling the affected extractor paths (for example, restricting to a single trusted extractor binary, or refusing the 7z path where the 7z binary is installed) reduces reachable attack surface at the cost of reduced archive-format coverage. Note there is no evidence of active exploitation in CISA KEV and no public exploit code identified at time of analysis, so patching cadence can follow normal library-dependency hygiene rather than emergency response.

Affected VersionsENISA

@mborne/extract 0 <0.2.1

Affected Packages

euvd mborne_extract fix: 0.2.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-78 (OS Command Injection): the library's extractors built shell command strings by concatenating the caller-supplied archivePath and targetDir values into unquoted shelljs exec() invocations - for example 'unzip -o -d '+targetDir+' '+archivePath, '7z x -y '+archivePath+' -o'+targetDir, 'tar xf '+archivePath+' -C '+targetDir, and 'gunzip < '+archivePath+' > '+targetPath. Because the values were never quoted or escaped, shell metacharacters in either option were interpreted by the shell, and leading-dash values could also be misread as CLI options by the underlying tools. This is a Node.js/shelljs pattern issue rather than a flaw in unzip, 7z, tar, or gzip themselves; the affected code lives in src/extractor/unzip.js, 7z.js, tar-bz2.js, and gz.js, with the vulnerable string construction visible in the v0.2.0 source (unzip.js lines 17-19). The upstream fix replaces shell string interpolation with execFileSync plus argument arrays, routes gz output through a file descriptor instead of a shell redirection, and normalizes inputs with path.resolve() in ExtractParams.js so relative paths cannot be interpreted as command-line options; regression tests in test/security.js exercise filenames and targets containing metacharacters such as backticks, $( ) and semicolons.

Know when Node.js 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.3 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 9.8 CRITICAL

Assuming a typical web app feeds untrusted upload filenames/paths into extract(), the vector is remote (AV:N) and low-complexity (AC:L); injection runs commands at the Node process level (C/I/A:H), with no CVSS scope change (S:U).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/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
Low
Attack Requirements
None
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

@mborne/extract before 0.2.1 contains an OS command injection vulnerability that allows attackers to execute commands by supplying shell metacharacters in archivePath or targetDir options. Attackers controlling these values passed to extract() can inject commands into unquoted shelljs exec() strings in the unzip, 7z, tar-bz2 and gz extractors, running them with Node.js process privileges.

Executive ViewAI

Why It Matters

The @mborne/extract library, used in Node.js applications for archive extraction, contains a critical OS command injection vulnerability that can allow unauthenticated attackers to execute arbitrary commands on the host server, potentially leading to full system compromise. Organizations using this library in their applications are at risk, particularly those that pass user-supplied input to extraction functions. This could result in data breaches, service disruption, or lateral movement within the network, and while no public exploit identified at time of analysis, the severity warrants immediate remediation.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
2.7%
Top 14% exploitable
Prevalence
Rare
obscure individually-maintained npm package, tiny deployment footprint
Data Quality
6 sources
Confidence: High

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 2.7%
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2024-41713 CRITICAL POC
9.1 Oct 21

A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2014-7205 CRITICAL POC
10.0 Oct 08

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2017-14849 HIGH POC
7.5 Sep 28

Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc

CVE-2017-5941 CRITICAL POC
9.8 Feb 09

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2014-3744 HIGH POC
7.5 Oct 23

Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi

CVE-2014-9566 HIGH POC
7.5 Mar 10

Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin

CVE-2013-4660 MEDIUM POC
6.8 Jun 28

The JS-YAML module before 2.0.5 for Node.js parses input without properly considering the unsafe !!js/function tag, whic

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