top of page
perceptive_background_267k.jpg

bestzip builds the argument list for the system zip utility without separating options from operands. The destination archive path and the caller-supplied sourc…

Published:

26 August 2026 at 00:00:00

Alert date:

26 August 2026 at 19:06:19

Source:

nvd.nist.gov

Click to open the original link from this advisory

Supply Chain & Dependencies, Web Technologies

CVE-2026-80427 is an argument injection vulnerability in the bestzip npm package, which wraps the system zip utility. The package fails to separate options from operands using a -- delimiter when building the argument list for zip. This allows attacker-controlled source path entries beginning with a hyphen to be interpreted as zip options rather than file names. By supplying -T and -TT flags along with a malicious command string, an attacker can cause zip to execute arbitrary shell commands after archive creation. Any application passing untrusted file paths to the bestzip API is vulnerable to arbitrary command execution. The vulnerability is fixed in versions 2.2.6 and 3.0.2, which add the required -- delimiter to separate options from operands.

Technical details

Mitigation steps:

Affected products:

bestzip
node-bestzip

Related links:

Related CVE's:

Related threat actors:

IOC's:

This article was created with the assistance of AI technology by Perceptive.

© 2025 by Perceptive Security. All rights reserved.

email: info@perceptivesecurity.com

Disclaimer: Deze website toont informatie afkomstig van externe bronnen. Perceptive aanvaardt geen verantwoordelijkheid voor de inhoud, juistheid of volledigheid van deze informatie.

bottom of page