High severity · published Sep 9, 2026
CVE-2026-87794
bestzip 2.2.6 and 3.0.2 Argument Injection via the Native Zip Destination
8.4
CVSS
0.3%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 20% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
BE
bestzip · nfriedly
2.2.6 before 2.2.7; 3.0.2 before 3.0.3 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-87794
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-87794
github.com
https://github.com/nfriedly/node-bestzip
github.com
https://github.com/nfriedly/node-bestzip/blob/v3.0.2/lib/bestzip.js
github.com
https://github.com/nfriedly/node-bestzip/commit/2adb637b0acb05b8475de7db5af4b86ffcf40aaf
github.com
https://github.com/nfriedly/node-bestzip/security/advisories/GHSA-p87m-9567-rgcc
github.com
https://github.com/nfriedly/node-bestzip/security/advisories/GHSA-xhwx-rch4-ph2v
www.npmjs.com
https://www.npmjs.com/package/bestzip
More from bestzip
8.4
CVE-2026-80427
bestzip before 2.2.6 and 3.0.x before 3.0.2 Argument Injection via Missing Option Delimiter
