bestzip builds the argument list for the system zip utility without separating options from operands. The destination archive path and the caller-supplied source paths are passed to the child process with no -- delimiter between them, so any source entry beginning with a hyphen is interpreted by zip as an option rather than a file name. zip accepts -T to test the finished archive and -TT to name the command used to perform that test, so a source list containing those two entries and a command string causes zip to run that command through a shell once the archive has been written. An application that passes a file name or path it received from an untrusted source into the bestzip API therefore executes a command of the supplier's choosing. Versions 2.2.6 and 3.0.2 add the delimiter.
References
Configurations
No configuration.
History
26 Aug 2026, 17:17
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/nfriedly/node-bestzip/security/advisories/GHSA-p87m-9567-rgcc - |
26 Aug 2026, 16:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-08-26 16:16
Updated : 2026-09-24 20:43
NVD link : CVE-2026-80427
Mitre link : CVE-2026-80427
CVE.ORG link : CVE-2026-80427
JSON object : View
Products Affected
No product.
CWE
CWE-88
Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
