CVE-2026-80427

Source
https://cve.org/CVERecord?id=CVE-2026-80427
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80427.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-80427
Aliases
  • GHSA-p87m-9567-rgcc
Published
2026-08-26T15:44:55.220Z
Modified
2026-08-30T03:31:05.417841110Z
Severity
  • 8.6 (High) CVSS_V4 - 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 CVSS Calculator
Summary
bestzip before 2.2.6 and 3.0.x before 3.0.2 Argument Injection via Missing Option Delimiter
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80427.json",
    "cwe_ids": [
        "CWE-88"
    ],
    "cna_assigner": "VulnCheck"
}
References

Affected packages

Git / github.com/nfriedly/node-bestzip

Affected ranges

Type
GIT
Repo
https://github.com/nfriedly/node-bestzip
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Introduced
Fixed
Database specific
Show details
{
    "source": "AFFECTED_FIELD",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "2.2.6"
        },
        {
            "introduced": "3.0.0"
        },
        {
            "fixed": "3.0.2"
        }
    ]
}

Affected versions

v1.*
v1.0.1
v1.1.2
v1.1.3
v1.1.4
v1.1.5
v1.1.6
v2.*
v2.0.0
v2.1.0
v2.1.1
v2.1.2
v2.1.3
v2.1.4
v2.1.5
v2.1.6
v2.1.7
v2.2.0
v2.2.1
v2.2.2
v2.2.3
v2.2.4
v2.2.5
v3.*
v3.0.0
v3.0.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80427.json"