CVE-2026-87794 bestzip 2.2.6 and 3.0.2 Argument Injection via the Native Zip Destination

High 8.6 Published Updated

Attackers can execute arbitrary commands via argument injection in the nativeZip function of the bestzip Node.js library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-87794?

CVE-2026-87794 is a high-severity command injection vulnerability in nfriedly bestzip, published on 9 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.

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.

Weakness: CWE-88

Which versions are affected by CVE-2026-87794?

How do I fix CVE-2026-87794?

No fix has been published for CVE-2026-87794 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2026-87794 being exploited?

There is no known exploitation of CVE-2026-87794 in the wild and no public exploit code.

Sources

Also known as GHSA-pf92-m78r-h85c.

Is CVE-2026-87794 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free