CVE-2026-119288

Zuke: Argument injection on Windows: batch shims are launched through cmd.exe, which re-parses the command line

Published Oct 30, 2026 CVSS 3.1 · 7 High EPSS < 1% KEV · Not listed
Description
Zuke is a code-first, strongly typed build automation system for Deno. Prior to 1.51.0, @zuke/core launches resolved Windows .cmd and .bat shims by prepending cmd /c, causing cmd.exe to reparse a command line assembled with C-runtime quoting rules. A build running on Windows that resolves a tool from node_modules/.bin and passes attacker-influenced text containing an unquoted &, |, or ^ metacharacter can execute an additional attacker-chosen command in the build's context with access to its credentials. POSIX platforms are not affected. This issue is fixed in version 1.51.0.

Analysis

AI-generated

Technical impact

The vulnerability allows an attacker to inject an additional command into the Windows command line that zuke invokes for .cmd and .bat shims. By including an unquoted metacharacter such as & , | , or ^ in the tool name resolved from node_modules/.bin, an attacker can cause cmd.exe to re‑parse the command line and execute an arbitrary command in the build’s context, potentially with the credentials of the build process. The weakness is a classic command injection flaw, identified as CWE-78. It enables remote code execution until mitigated.

Affected Systems

The issue affects the zuke-build/zuke build automation system for Deno, specifically versions prior to 1.51.0 when run on Windows. The vulnerability is present only on Windows platforms; POSIX systems are unaffected.

Risk and Exploitability

The CVSS score of 7 indicates a high severity. EPSS data is not available, but the flaw can be exploitably via control of build inputs on Windows. It is not listed in the CISA KEV catalog. An attacker would need to influence the build input that contains a tool path or name containing special characters and the build would run with the credentials of the user executing it. The attack vector is local to the build environment; no remote network access is required beyond the ability to inject text into the build configuration.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to zuke version 1.51.0 or newer
  • Sanitize or remove untrusted text that can contain shell metacharacters such as & , | , or ^ from any build input before it is passed to zuke
  • Run the build process with the least privileges required and isolate execution from sensitive resources

Generated by OpenCVE AI on October 30, 2026 at 17:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Zuke-build
Zuke-build zuke
Vendors & Products Zuke-build
Zuke-build zuke
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Zuke is a code-first, strongly typed build automation system for Deno. Prior to 1.51.0, @zuke/core launches resolved Windows .cmd and .bat shims by prepending cmd /c, causing cmd.exe to reparse a command line assembled with C-runtime quoting rules. A build running on Windows that resolves a tool from node_modules/.bin and passes attacker-influenced text containing an unquoted &, |, or ^ metacharacter can execute an additional attacker-chosen command in the build's context with access to its credentials. POSIX platforms are not affected. This issue is fixed in version 1.51.0.
Title Zuke: Argument injection on Windows: batch shims are launched through cmd.exe, which re-parses the command line
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 30, 2026, 6:36 PM
Reserved
Oct 29, 2026, 6:50 PM
Status
Deferred
Published
Oct 30, 2026, 4:17 PM
Modified
Oct 30, 2026, 7:18 PM