CVE-2026-87794 Details
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.
A vulnerability allowing argument injection has been identified in bestzip versions 2.2.6 and 3.0.2. This issue arises in the nativeZip function, where attackers can inject arbitrary arguments into the Info-ZIP backend. By supplying a malicious destination path along with crafted source entries, it is possible to execute arbitrary commands with the privileges of the Node.js process. The vulnerability has been patched in bestzip versions 2.2.7 and 3.0.3.
Users can upgrade to bestzip versions 2.2.7 or 3.0.3 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 9, 2026CISA-ADP
Assessed Sep 18, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/nfriedly/node-bestzip | [email protected] | Vendor |
| https://github.com/nfriedly/node-bestzip/blob/v3.0.2/lib/bestzip.js | [email protected] | Source CodeVendor |
| https://github.com/nfriedly/node-bestzip/commit/2adb637b0acb05b8475de7db5af4b86ffcf40aaf | [email protected] | Source CodeVendor |
| https://github.com/nfriedly/node-bestzip/security/advisories/GHSA-p87m-9567-rgcc | [email protected] | AdvisoryExploitRemedyVendor |
| https://github.com/nfriedly/node-bestzip/security/advisories/GHSA-xhwx-rch4-ph2v | [email protected] | AdvisoryExploitRemedyVendor |
| https://www.npmjs.com/package/bestzip | [email protected] | Permission RequiredProductVendor |
| https://www.vulncheck.com/advisories/bestzip-2.2.6-and-3.0.2-argument-injection-via-the-native-zip-destination | [email protected] | AdvisoryRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-88 | Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| bestzip | < 2.2.7 (semver) < 3.0.3 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 18, 2026 | CVE Modified | CISA-ADP |
| Sep 9, 2026 | New CVE Received | [email protected] |
Volerion