Vulnerability in Nfriedly Bestzip
CVE-2026-87794
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.4 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.003 (19.4th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 19th percentile — 19.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: 0.000
Affected products
Weakness classification (CWE)
References
- github.com/nfriedly/node-bestzip (product)
- github.com/nfriedly/node-bestzip/blob/v3.0.2/lib/bestzip.js (technical-description)
- github.com/nfriedly/node-bestzip/commit/2adb637b0acb05b8475de7db5af4b86ffcf40aaf (patch)
- github.com/nfriedly/node-bestzip/security/advisories/GHSA-p87m-9567-rgcc (related, vendor-advisory)
- github.com/nfriedly/node-bestzip/security/advisories/GHSA-xhwx-rch4-ph2v (vendor-advisory)
- www.npmjs.com/package/bestzip (product)
- www.vulncheck.com/advisories/bestzip-2.2.6-and-3.0.2-argument-injection-via-the… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-87794?
- CVE-2026-87794 is a high-severity vulnerability in Nfriedly Bestzip, classified under Argument Injection. CVSS score: 8.4/10. Published 2026-09-09.
- How severe is CVE-2026-87794?
- High severity. CVSS v3 base score is 8.4 out of 10.