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.
Published: 2026-10-14
Score: 9.3 Critical
EPSS: 2.7% Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

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.

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

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 yet.

History

Wed, 21 Oct 2026 20:45:00 +0000

Type Values Removed Values Added
First Time appeared Mborne
Mborne extract
Vendors & Products Mborne
Mborne extract

Wed, 14 Oct 2026 14:30:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-14T17:34:58.061Z

Reserved: 2026-10-14T13:07:33.066Z

Link: CVE-2026-110639

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-14T15:17:17.130

Modified: 2026-10-16T19:18:44.867

Link: CVE-2026-110639

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-21T20:23:54Z

Weaknesses
  • CWE-78

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