# CVE-2026-87794

## Summary

- **CVE ID:** CVE-2026-87794
- **Severity:** HIGH
- **CVSS Score:** 8.6 (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)
- **CWE:** CWE-88
- **Published:** Sep 9, 2026
- **Last Modified:** Sep 9, 2026

## 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.

## Affected Products

- nfriedly — bestzip (2.2.6)
- nfriedly — bestzip (3.0.2)

## References

- [CNA](https://github.com/nfriedly/node-bestzip/security/advisories/GHSA-xhwx-rch4-ph2v)
- [CNA](https://github.com/nfriedly/node-bestzip/commit/2adb637b0acb05b8475de7db5af4b86ffcf40aaf)
- [CNA](https://github.com/nfriedly/node-bestzip/blob/v3.0.2/lib/bestzip.js)
- [CNA](https://github.com/nfriedly/node-bestzip/security/advisories/GHSA-p87m-9567-rgcc)
- [CNA](https://www.npmjs.com/package/bestzip)
- [CNA](https://github.com/nfriedly/node-bestzip)
- [CNA](https://www.vulncheck.com/advisories/bestzip-2.2.6-and-3.0.2-argument-injection-via-the-native-zip-destination)

---
_Exported from OnDuty AI Vulnerability Intelligence on 2026-09-11._