Vulnerability details
CVE-2026-87794
nfriedly bestzip
bestzip 2.2.6 and 3.0.2 Argument Injection via the Native Zip Destination
CVSS 4.0
8.6High
Official 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.
CVSS scores
| Score | Version | Source | Vector |
|---|---|---|---|
| 8.6High | 4.0 | CVEProject cvelistV5 (CNA) (VulnCheck) | 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 |
| 8.4High | 3.1 | CVEProject cvelistV5 (CNA) (VulnCheck) | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected products
| Vendor | Product | Versions | Source |
|---|---|---|---|
| nfriedly | bestzip | 2.2.6 ≤ v < 2.2.7 | CVEProject cvelistV5 (CNA) |
| nfriedly | bestzip | 3.0.2 ≤ v < 3.0.3 | CVEProject cvelistV5 (CNA) |
References and advisories
7- https://github.com/nfriedly/node-bestzip/security/advisories/GHSA-xhwx-rch4-ph2v vendor-advisory
- https://github.com/nfriedly/node-bestzip/commit/2adb637b0acb05b8475de7db5af4b86ffcf40aaf patch
- https://github.com/nfriedly/node-bestzip/blob/v3.0.2/lib/bestzip.js technical-description
- https://github.com/nfriedly/node-bestzip/security/advisories/GHSA-p87m-9567-rgcc relatedvendor-advisory
- https://www.npmjs.com/package/bestzip product
- https://github.com/nfriedly/node-bestzip product
- https://www.vulncheck.com/advisories/bestzip-2.2.6-and-3.0.2-argument-injection-via-the-native-zip-destination third-party-advisory
Kolun on Telegram @kolunsec
Exploited CVEs, key news and a daily digest
Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.
Details
- Published
- 2026-09-09
- Last updated
- 2026-09-18
- State
- Published
- Assigner (CNA)
- VulnCheck
Exploit prediction (EPSS)
0.28%
Probability of exploitation in 30 days
20.5%
Percentile (among all CVEs)
SSVC assessment (CISA)
- Automatable
- No
- Exploitation
- None
- Technical impact
- Total
Weaknesses (CWE)
- CWE-88Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')