CVE-2026-0933CWE-20

OS Command Injection in `wrangler pages deploy`

High · published January 20, 2026

CVSS v4.0
7.7
EPSS
2%
Percentile
74.3
In the wild
Unconfirmed
What it is

🚨 A sneaky command injection vulnerability hides in the `wrangler pages deploy` command! An attacker with control over the `--commit-hash` parameter can execute arbitrary commands on your CI/CD system! 🔥 Think of it like a restaurant that takes orders over the phone but doesn’t double-check if the caller is really the customer or a prankster. If they don’t validate the order, the impersonator can ask for anything, even a delivery of something spicy and unexpected! This vulnerability could lead to absolute chaos in your CI/CD pipeline! An attacker could run any shell command and even exfiltrate crucial environment variables. Worst of all, they can compromise the CI runner and insert backdoors or modify build artifacts — a nightmare scenario for any deployment!

Put simply

Think of it like a restaurant that takes orders over the phone but doesn’t double-check if the caller is really the customer or a prankster. If they don’t validate the order, the impersonator can ask for anything, even a delivery of something spicy and unexpected! The issue arises because the `--commit-hash` parameter is interpolated directly into a shell command without proper validation or sanitization, allowing an attacker to inject malicious commands through specially crafted input.

What to do

This vulnerability could lead to absolute chaos in your CI/CD pipeline! An attacker could run any shell command and even exfiltrate crucial environment variables. Worst of all, they can compromise the CI runner and insert backdoors or modify build artifacts — a nightmare scenario for any deployment! Upgrade to Wrangler v4.59.1 or higher for v4 users, and v3.114.17 or higher for v3 users immediately! If you're on the outdated Wrangler v2, it's time to switch to a supported version to ensure your safety. 🛡️ You've got this! Follow these steps, and you'll secure your pipelines in no time! ⚡

The record
Technical detail
CVSS v4.0
7.7 · 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
EPSS
0.01514 · 74.3th percentile
Weakness
CWE-20 · Improper Input Validation
Published
2026-01-20T22:58Z
EPSS history
Timeline
  • 20 JAN 22:58Z
    OS Command Injection in `wrangler pages deploy`
    cvelistv5