CVE-2026-80427: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') in nfriedly bestzip
Description
CVE-2026-80427 is a high-severity vulnerability in the nfriedly bestzip utility where argument delimiters are improperly neutralized. The vulnerability arises because bestzip does not separate options from operands when calling the system zip utility, allowing specially crafted source paths beginning with a hyphen to be interpreted as options. This can lead to command injection by exploiting zip's -T and -TT options to execute arbitrary commands. Versions 2.2.6 and 3.0.2 of bestzip add the necessary delimiter to mitigate this issue.
CVSS v4.0
Score 8.6high
Affected software
nfriedly
bestzip
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in nfriedly bestzip occurs because the utility builds the argument list for the system zip command without using a '--' delimiter to separate options from file operands. As a result, any source path starting with a hyphen is treated as an option by zip rather than a file name. Since zip accepts the -T option to test the archive and -TT to specify the test command, an attacker can supply source entries '-T' and '-TT' followed by a command string, causing zip to execute arbitrary commands via the shell after archive creation. This leads to command injection when untrusted file names or paths are passed to bestzip. The issue is fixed by adding the '--' delimiter in versions 2.2.6 and 3.0.2.
Potential Impact
An attacker who can supply file names or paths to bestzip can execute arbitrary commands on the host system due to improper argument handling. This can lead to full command execution with the privileges of the bestzip process. The vulnerability has a high CVSS 4.0 score of 8.6, reflecting the ease of exploitation and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Versions 2.2.6 and 3.0.2 of bestzip include the necessary fix by adding the '--' delimiter to separate options from operands, preventing argument injection. Users should upgrade to at least version 2.2.6 or 3.0.2 to remediate this vulnerability. No official patch advisory is provided, so verify upgrade availability from the vendor or project repository. Until patched, avoid passing untrusted input as file names or paths to bestzip.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-26T10:43:43.830Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a8f0bdbacd9273b4917ded8
Added to database: 08/26/2026, 15:52:59 UTC
Last enriched: 09/09/2026, 17:37:11 UTC
Last updated: 10/09/2026, 06:48:19 UTC
Views: 35
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.