CVE-2026-87794
bestzip versions 2.2.6 and 3.0.2 contain an argument injection …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/nfriedly/node-bestzip
- github.com/nfriedly/node-bestzip/blob/v3.0.2/lib/bestzip.js
- github.com/nfriedly/node-bestzip/commit/2adb637b0acb05b8475de7db5af4b86ffcf40aaf
- github.com/nfriedly/node-bestzip/security/advisories/GHSA-p87m-9567-rgcc
- github.com/nfriedly/node-bestzip/security/advisories/GHSA-xhwx-rch4-ph2v
- www.npmjs.com/package/bestzip
- www.vulncheck.com/advisories/bestzip-2.2.6-and-3.0.2-argument-injection-via-the-native-zip
- nvd.nist.gov/vuln/detail/CVE-2026-87794
- cve.org/CVERecord?id=CVE-2026-87794
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.