AploSec / Disclosures / CVE-2026-110639

ReproducedFixed in 0.2.1CWE-78npm

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

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

Summary

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

References

Package
@mborne/extract
Ecosystem
npm
Weekly downloads
3
Affected
< 0.2.1
Fixed
0.2.1
Weakness
CWE-78
CNA
VulnCheck
Credit
Zachariah Mithani