{"schemaVersion":3,"id":"CVE-2026-0933","aliases":["GHSA-36p8-mvp6-cv38"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2026-01-20T22:58:05.212Z","modified":"2026-01-23T21:54:58.842Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.9,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Npm","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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.9,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01514,"percentile":0.7414,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":-0.02199999999999997,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01536},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01449,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01449,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01449,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01514,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01514,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01514,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01514,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01514,"percentile":0.7414}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01536,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01514,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01514,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01514,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01514,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01514,"percentile":0.7414}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"}],"affected":[{"vendor":"cloudflare","product":"wrangler","name":"wrangler","label":"wrangler","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ v3.0.0, ≤ v3.114.16","noFixRecorded":false,"fixedIn":null},{"text":"≥ v4.0.0, ≤ v4.59.0","noFixRecorded":false,"fixedIn":null},{"text":"v2.0.15+","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.0.15, < 3.114.17","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.0.0, < 4.59.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ v3.0.0, ≤ v3.114.16 | ≥ v4.0.0, ≤ v4.59.0 | v2.0.15+ | ≥ 2.0.15, < 3.114.17 | ≥ 4.0.0, < 4.59.1","eol":null,"hubHref":"/vendor/cloudflare/wrangler"},{"vendor":"Npm","product":"wrangler","name":"wrangler","label":"wrangler","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/wrangler","purlType":"npm","versions":[{"text":"≥ 2.0.15, < 3.114.17","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.0.0, < 4.59.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.0.15, < 3.114.17 | ≥ 4.0.0, < 4.59.1","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/cloudflare/workers-sdk","label":"github.com/cloudflare/workers-sdk","hostname":"github.com","tags":["PACKAGE","Product"]},{"url":"https://github.com/cloudflare/workers-sdk/security/advisories/GHSA-36p8-mvp6-cv38","label":"github.com/cloudflare/workers-sdk/security/advisories/GHSA-36p8-mvp6-cv38","hostname":"github.com","tags":["WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-0933","label":"nvd.nist.gov/vuln/detail/CVE-2026-0933","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/cloudflare/workers-sdk/commit/99b1f328a9afe181b49f1114ed47f15f6d25f0be","label":"github.com/cloudflare/workers-sdk/commit/99b1f328a9afe181b49f1114ed47f15f6d25f0be","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/cloudflare/workers-sdk/releases/tag/wrangler%403.114.17","label":"github.com/cloudflare/workers-sdk/releases/tag/wrangler%403.114.17","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/cloudflare/workers-sdk/releases/tag/wrangler%404.59.1","label":"github.com/cloudflare/workers-sdk/releases/tag/wrangler%404.59.1","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-01-20T22:58:05.212Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-01-23T21:54:58.842Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T19:36:52.682Z","stale":false,"partial":false}}