CVE-2026-87794Nfriedly Bestzip argument injection
CVSS score
8.6
High
CVSS 4.0 from vulncheck.com
Exploit probability (EPSS)
0.28%
0.28% chance of exploitation in the next 30 days, higher than 20.7% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: disclosure@vulncheck.com
How to fix it, step by step
Check whether you're affected
Find every system running nfriedly Bestzip and compare its version with the affected versions.
Update to a fixed version
- Update Bestzip to 2.2.7, 3.0.3 or later, on the branch you run.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Local
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- None
- User interaction
- None
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Affected products
| Affected products | Versions |
|---|---|
| nfriedly Bestzip | ≥ 2.2.6, < 2.2.7 · ≥ 3.0.2, < 3.0.3 |
Weakness
- CWE-88 argument injection
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-87794 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.3% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-87794?
CVE-2026-87794 has a CVSS 4.0 base score of 8.6 (high).
Which versions are affected?
Nfriedly Bestzip (≥ 2.2.6, < 2.2.7; ≥ 3.0.2, < 3.0.3)
Is there a patch for CVE-2026-87794?
The official record links to vendor advisories or patches; see “What to do” above.
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-destination
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.