CVE-2026-87794
bestzip 2.2.6 and 3.0.2 Argument Injection via the Native Zip Destination
- State
- Published
- Severity
- 8.6 High
- Published
- Sep 9, 2026
- Updated
- Sep 18, 2026
- Reserved
- Sep 9, 2026
Description
bestzip versions 2.2.6 and 3.0.2 contain an argument injection vulnerability in the nativeZip function that allows attackers to inject arbitrary arguments to the Info-ZIP backend. Attackers can supply a malicious destination path combined with crafted source entries to execute arbitrary commands with Node.js process privileges. Fixed in 2.2.7 and 3.0.3.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.6 High | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 8.4 High | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | VulnCheck |
Weaknesses
- CWE-88 Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
Affected Products
| Product | Versions |
|---|---|
bestzipnfriedly |
|
References
- GitHub Security Advisory (GHSA-xhwx-rch4-ph2v)vendor-advisory
- Fix commit (2.2.7, 3.0.3)patch
- Vulnerable nativeZip argument list at v3.0.2technical-description
- GitHub Security Advisory (GHSA-p87m-9567-rgcc)relatedvendor-advisory
- https://www.npmjs.com/package/bestzipproduct
- https://github.com/nfriedly/node-bestzipproduct
- VulnCheck Advisory: bestzip 2.2.6 and 3.0.2 Argument Injection via the Native Zip Destinationthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.