CVE-2026-87794
published high CVSS 4.0 · 8.6bestzip 2.2.6 and 3.0.2 Argument Injection via the Native Zip Destination
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nfriedly | — | bestzip2.2.6 to < 2.2.7 · 3.0.2 to < 3.0.3 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.6 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.4 | high | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nfriedly | bestzip | 2.2.6 to < 2.2.7 (affected · semver)3.0.2 to < 3.0.3 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-88 Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
References
7- https://github.com/nfriedly/node-bestzip
- Vulnerable nativeZip argument list at v3.0.2 https://github.com/nfriedly/node-bestzip/blob/v3.0.2/lib/bestzip.js
- Fix commit (2.2.7, 3.0.3) https://github.com/nfriedly/node-bestzip/commit/2adb637b0acb05b8475de7db5af4b86ffcf40aaf
- GitHub Security Advisory (GHSA-p87m-9567-rgcc) https://github.com/nfriedly/node-bestzip/security/advisories/GHSA-p87m-9567-rgcc
- GitHub Security Advisory (GHSA-xhwx-rch4-ph2v) https://github.com/nfriedly/node-bestzip/security/advisories/GHSA-xhwx-rch4-ph2v
- https://www.npmjs.com/package/bestzip
- VulnCheck Advisory: bestzip 2.2.6 and 3.0.2 Argument Injection via the Native Zip Destination https://www.vulncheck.com/advisories/bestzip-2.2.6-and-3.0.2-argument-injection-via-the-native-zip-destination
Provider assertions
2VulnCheck · cna
bestzip 2.2.6 and 3.0.2 Argument Injection via the Native Zip Destination
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4a9ce84dcf6439a28795e383695aa51be3a9e3bc01460f16129b3a0140e825f7
- Ingested
- 23 Sep 2026, 09:37:53 UTC
- Source record
- Official CVE record