Skip to main content
EPSS 0.2%top 89%

CVE-2026-80427: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') in nfriedly bestzip

0
High
VulnerabilityCVE-2026-80427cvecve-2026-80427
Published: 08/26/2026 (08/26/2026, 15:44:55 UTC)
Source: CVE Database V5
Vendor/Project: nfriedly
Product: 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

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

nfriedly

bestzip

Affected versions
>=0 <2.2.6>=3.0.0 <3.0.2
GitHub Actionsmore threats →cve
bestzip
pkg:github/bestzip
Affected versions
>=0 <2.2.6>=3.0.0 <3.0.2

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

AILast updated: 09/09/2026, 17:37:11 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses