{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-0933","published":"2026-01-20T23:16:06.043000Z","last_modified":"2026-06-17T10:11:39.087000Z","status":"Analyzed","cvss":{"version":"4.0","score":7.7,"severity":"HIGH","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"cna@cloudflare.com","primary":false},"auth":true,"cwes":["CWE-20"],"cpes":[{"criteria":"cpe:2.3:a:cloudflare:wrangler:*:*:*:*:*:node.js:*:*","part":"a","vendor":"cloudflare","product":"wrangler","version_start_including":"2.0.15","version_end_excluding":"3.114.17"},{"criteria":"cpe:2.3:a:cloudflare:wrangler:*:*:*:*:*:node.js:*:*","part":"a","vendor":"cloudflare","product":"wrangler","version_start_including":"4.0.0","version_end_excluding":"4.59.1"}],"cpes_truncated":false,"vendors":["cloudflare"],"products":["cloudflare/wrangler"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-36p8-mvp6-cv38","ecosystem":"npm","name":"wrangler","purl":"pkg:npm/wrangler","ranges":[{"introduced":"2.0.15","fixed":"3.114.17"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-36p8-mvp6-cv38","ecosystem":"npm","name":"wrangler","purl":"pkg:npm/wrangler","ranges":[{"introduced":"4.0.0","fixed":"4.59.1"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":46,"links":{"html_es":"/es/cve/CVE-2026-0933/","html_en":"/en/cve/CVE-2026-0933/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-0933","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-0933"},"untrusted":{"vendor_name":"Cloudflare","product_name":"Wrangler","desc_en":"SummaryA command injection vulnerability (CWE-78) has been found to exist in the `wrangler pages deploy` command. The issue occurs because the `--commit-hash` parameter is passed directly to a shell command without proper validation or sanitization, allowing an attacker with control of `--commit-hash` to execute arbitrary commands on the system running Wrangler.\n\n\n\n\nRoot causeThe commitHash variable, derived from user input via the --commit-hash CLI argument, is interpolated directly into a shell command using template literals (e.g.,  execSync(`git show -s --format=%B ${commitHash}`)). Shell metacharacters are interpreted by the shell, enabling command execution.\n\n\n\n\nImpactThis vulnerability is generally hard to exploit, as it requires --commit-hash to be attacker controlled. The vulnerability primarily affects CI/CD environments where `wrangler pages deploy` is used in automated pipelines and the \n\n--commit-hash parameter is populated from external, potentially untrusted sources. An attacker could exploit this to:\n\n  *  Run any shell command.\n  *  Exfiltrate environment variables.\n  *  Compromise the CI runner to install backdoors or modify build artifacts.\n\n\n\nCredits Disclosed responsibly by kny4hacker.\n\n\n\n\nMitigation\n  *  Wrangler v4 users are requested to upgrade to Wrangler v4.59.1 or higher.\n  *  Wrangler v3 users are requested to upgrade to Wrangler v3.114.17 or higher.\n  *  Users on Wrangler v2 (EOL) should upgrade to a supported major version.","affected":[{"untrusted_vendor":"Cloudflare","untrusted_product":"Wrangler","versions":[]}],"references":[{"url":"https://github.com/cloudflare/workers-sdk","tags":["Product"]}]}}