{"id":"CVE-2026-80427","state":"PUBLISHED","title":"bestzip before 2.2.6 and 3.0.x before 3.0.2 Argument Injection via Missing Option Delimiter","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.","publishedAt":"2026-08-26T15:44:55.220Z","updatedAt":"2026-08-29T11:48:06.751Z","severity":{"score":8.6,"label":"High","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["nfriedly bestzip"],"affected":[{"vendor":"nfriedly","product":"bestzip","packageURL":"pkg:npm/bestzip","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.2.6","versionType":"semver"},{"version":"3.0.0","status":"affected","lessThan":"3.0.2","versionType":"semver"}],"collectionURL":"https://github.com/nfriedly/node-bestzip","repo":"https://github.com/nfriedly/node-bestzip"}],"references":["https://github.com/nfriedly/node-bestzip","https://github.com/nfriedly/node-bestzip/security/advisories/GHSA-p87m-9567-rgcc","https://www.npmjs.com/package/bestzip","https://www.vulncheck.com/advisories/bestzip-before-2.2.6-and-3.0-x-before-3.0.2-argument-injection-via-missing-option-delimiter"],"weaknesses":["CWE-88"],"ingestedAt":"2026-10-29T20:13:07.220Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/80xxx/CVE-2026-80427.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-80427","state":"PUBLISHED","datePublished":"2026-08-26T15:44:55.220Z","dateUpdated":"2026-08-29T11:48:06.751Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-08-26T10:43:43.830Z"},"containers":{"cna":{"title":"bestzip before 2.2.6 and 3.0.x before 3.0.2 Argument Injection via Missing Option Delimiter","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"nfriedly","product":"bestzip","packageURL":"pkg:npm/bestzip","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.2.6","versionType":"semver"},{"version":"3.0.0","status":"affected","lessThan":"3.0.2","versionType":"semver"}],"collectionURL":"https://github.com/nfriedly/node-bestzip","repo":"https://github.com/nfriedly/node-bestzip"}],"references":[{"url":"https://github.com/nfriedly/node-bestzip","tags":["product"]},{"url":"https://github.com/nfriedly/node-bestzip/security/advisories/GHSA-p87m-9567-rgcc","name":"GitHub Security Advisory (GHSA-p87m-9567-rgcc)","tags":["vendor-advisory"]},{"url":"https://www.npmjs.com/package/bestzip","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/bestzip-before-2.2.6-and-3.0-x-before-3.0.2-argument-injection-via-missing-option-delimiter","name":"VulnCheck Advisory: bestzip before 2.2.6 and 3.0.x before 3.0.2 Argument Injection via Missing Option Delimiter","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"HIGH","baseScore":8.6,"vectorString":"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"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","version":"3.1","baseSeverity":"HIGH","baseScore":8.4,"vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-88","lang":"en","description":"Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-08-29T11:48:06.751Z"},"datePublic":"2026-08-26T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:bestzip_project:bestzip:*:*:*:*:*:*:*:*","versionEndExcluding":"2.2.6"},{"vulnerable":true,"criteria":"cpe:2.3:a:bestzip_project:bestzip:*:*:*:*:*:*:*:*","versionStartIncluding":"3.0.0","versionEndExcluding":"3.0.2"}]}]}],"credits":[{"lang":"en","value":"poqpwppy","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"},"source":{"discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/nfriedly/node-bestzip/security/advisories/GHSA-p87m-9567-rgcc","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-26T16:03:42.714702Z","id":"CVE-2026-80427","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-26T16:03:50.147Z"}}]}}}