CVE-2026-110639

@mborne/extract before 0.2.1 OS Command Injection via archivePath and targetDir

Published Oct 14, 2026 CVSS 4.0 · 9.3 Critical EPSS 2.7% KEV · Not listed
Description
@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.

Analysis

AI-generated

Technical impact

This vulnerability allows attackers to execute arbitrary OS commands by supplying shell metacharacters in the archivePath or targetDir options of the @mborne/extract library. The library passes these unsanitized values to shelljs exec() in its unzip, 7z, tar‑bz2 and gz extractors, running them with the Node.js process privileges. Consequently, an attacker who can control these parameters can run arbitrary code on the host, compromising confidentiality, integrity, and availability.

Affected Systems

Versions of @mborne/extract prior to 0.2.1 are vulnerable. Any project that includes this package with a version up to 0.2.0 is at risk. The issue is resolved in release 0.2.1.

Risk and Exploitability

The CVSS score of 9.3 indicates a severe risk for remote code execution. The EPSS score of 3% indicates a low but measurable likelihood of exploitation, while the lack of mention in the CISA KEV catalog does not reduce the potential danger. Attackers can exploit the flaw by supplying crafted archivePath or targetDir arguments when calling extract(), injecting commands into the process. If the library is used in a publicly exposed service, the vulnerability could be triggered by an external threat actor.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade @mborne/extract to version 0.2.1 or later where the injection is fixed.
  • If a version upgrade is not yet possible, validate or sanitize the archivePath and targetDir values to remove shell metacharacters before passing them to extract().
  • Review and audit any code that supplies user input to extract() to ensure no injection vectors remain.

Generated by OpenCVE AI on October 15, 2026 at 20:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Mborne
Mborne extract
Vendors & Products Mborne
Mborne extract
Type Values Removed Values Added
Description @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.
Title @mborne/extract before 0.2.1 OS Command Injection via archivePath and targetDir
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.3, 'vector': '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'}

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 14, 2026, 5:34 PM
Reserved
Oct 14, 2026, 1:07 PM
Status
Deferred
Published
Oct 14, 2026, 3:17 PM
Modified
Oct 16, 2026, 7:18 PM