CVE-2026-80427

High

Description

bestzip builds the argument list for the system zip utility without separating options from operands. The destination archive path and the caller-supplied source paths are passed to the child process with no -- delimiter between them, so any source entry beginning with a hyphen is interpreted by zip as an option rather than a file name. zip accepts -T to test the finished archive and -TT to name the command used to perform that test, so a source list containing those two entries and a command string causes zip to run that command through a shell once the archive has been written. An application that passes a file name or path it received from an untrusted source into the bestzip API therefore executes a command of the supplier's choosing. Versions 2.2.6 and 3.0.2 add the delimiter.

SeverityHigh
CVSS8.4
Exploit probability—
ProductNfriedly Bestzip
PublishedAug 26, 2026
First seenAug 26, 2026
Weakness typeCWE-88CWE-88

How to fix

Update
  • nfriedly bestzip2.2.6, 3.0.2 or later

Affected products

ProductAffected versionsFixed in
nfriedly bestzipv < 2.2.6, 3.0.0 ≤ v < 3.0.22.2.6, 3.0.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.