# CVE-2026-110639: @mborne/extract before 0.2.1 OS Command Injection via archivePath and targetDir

Source: https://aplosec.si/cve/CVE-2026-110639/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-110639

Critical 9.3 · Reproduced · Fixed in 0.2.1 · CWE-78 · npm

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

CVE-2026-110639 · published 2026-10-14

In plain words: this type of bug lets someone run their own commands on the server (command injection). A fixed release is listed.

## Summary

CVE-2026-110639 affects @mborne/extract (npm) < 0.2.1: Command injection via archivePath and targetDir (CWE-78). Fixed in 0.2.1. CVSS 4.0 base score 9.3 (Critical), assigned by VulnCheck. Published 2026-10-14 by VulnCheck. Credit: Zachariah Mithani.

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

## Evidence

The exploit was run against the published artifact from the registry, not the repository. It created a marker file; a benign input through the same sink in the same session did not.

## Remediation

Upgrade @mborne/extract to 0.2.1 or later. Releases in the affected range (< 0.2.1) are vulnerable. See the linked advisory for details on affected release lines.

## Timeline

- 2026-10-14 CVE published

- 2026-10-28 Public record last updated

## References

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/mborne-extract-before-0.2.1-os-command-injection-via-archivepath-and-targetdir](https://www.vulncheck.com/advisories/mborne-extract-before-0.2.1-os-command-injection-via-archivepath-and-targetdir)

- [Fix pull requesthttps://github.com/mborne/node-extract/pull/8](https://github.com/mborne/node-extract/pull/8)

- [Vulnerable codehttps://github.com/mborne/node-extract/blob/v0.2.0/src/extractor/unzip.js#L17-L19](https://github.com/mborne/node-extract/blob/v0.2.0/src/extractor/unzip.js#L17-L19)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-110639](https://www.cve.org/CVERecord?id=CVE-2026-110639)

- [NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-110639](https://nvd.nist.gov/vuln/detail/CVE-2026-110639)

- [Fix commithttps://github.com/mborne/node-extract/commit/585e5b29657379e73c04f6f950ea8dc5319f8ae1](https://github.com/mborne/node-extract/commit/585e5b29657379e73c04f6f950ea8dc5319f8ae1)

**Severity:** Critical 9.3 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-110639)

**Package:** @mborne/extract

**Ecosystem:** npm

**Affected:** < 0.2.1

**Fixed:** 0.2.1

**Weakness:** CWE-78

**CNA:** VulnCheck

**Credit:** Zachariah Mithani finder
