Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-0933

HIGH 7.7EPSS 85%

OS Command Injection in `wrangler pages deploy`

Also known as GHSA-36p8-mvp6-cv38

Mitigation

  • Upgrade wrangler to one of 3.114.17, 4.59.1 (or later in the same release line).

Who should check

  • Projects that depend on npm package wrangler (>= 2.0.15, < 3.114.17)
  • Anyone running Cloudflare Wrangler >= v3.0.0, <= v3.114.16; >= v4.0.0, <= v4.59.0; v2.0.15+

Vulnerability facts

Affected
wrangler >= 2.0.15, < 3.114.17
Fixed in
3.114.17, 4.59.1
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
7.7 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Attack requirements: Present
  • Privileges required: Low
  • User interaction: None
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
  • Confidentiality impact on other systems: Low
  • Integrity impact on other systems: Low
  • Availability impact on other systems: None
EPSS
2.47% chance of exploitation in 30 days (percentile 85, 2026-11-26)
CWE
CWE-20
Published
Modified

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. Root 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. ImpactThis 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 --commit-hash parameter is populated from external, potentially untrusted sources. An attacker could exploit this to: * Run any shell command. * Exfiltrate environment variables. * Compromise the CI runner to install backdoors or modify build artifacts. Credits Disclosed responsibly by kny4hacker. Mitigation * Wrangler v4 users are requested to upgrade to Wrangler v4.59.1 or higher. * Wrangler v3 users are requested to upgrade to Wrangler v3.114.17 or higher. * Users on Wrangler v2 (EOL) should upgrade to a supported major version.

Affected and fixed versions

Package / productAffectedFixedSource
npm wrangler>= 2.0.15, < 3.114.173.114.17, 4.59.1osv
Cloudflare Wrangler>= v3.0.0, <= v3.114.16; >= v4.0.0, <= v4.59.0; v2.0.15+—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-0933. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-0933.md
Affected: wrangler >= 2.0.15, < 3.114.17
Fixed in: 3.114.17, 4.59.1

Steps:
1. Search this machine and project for wrangler (npm), Cloudflare Wrangler: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-0933 being exploited?

There is no confirmed exploitation: CVE-2026-0933 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.47% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-0933?

High: CVSS 7.7 (v4.0, scored by CNA). Remote, login needed.

Which versions are affected by CVE-2026-0933?

wrangler >= 2.0.15, < 3.114.17.

Is there a fix for CVE-2026-0933?

Yes. Fixed in 3.114.17, 4.59.1. Upgrade wrangler to one of 3.114.17, 4.59.1 (or later in the same release line).

How do I check if I'm affected by CVE-2026-0933?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors