CVE-2026-0933
Last modified
CVE-2026-0933 is a critical-severity vulnerability rated 9.9/10 on the CVSS scale. 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}`)). EPSS estimates a 1.39% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
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
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Cloudflare | Wrangler | >= 2.0.15, < 3.114.17 |
| Cloudflare | Wrangler | >= 4.0.0, < 4.59.1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-0933?
How severe is CVE-2026-0933?
How do I fix CVE-2026-0933?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-0926The Prodigy Commerce plugin for WordPress is vulnerable to L…9.8
- CVE-2026-0927The KiviCare – Clinic & Patient Management System (EHR) plug…5.3
- CVE-2026-0929The RegistrationMagic WordPress plugin before 6.0.7.2 does …4.3
- CVE-2026-0930Potential read out of bounds case with wolfSSHd on Windows w…4.3
- CVE-2026-0931Denial-of-service vulnerability in M-Files Server versions b…6.9
- CVE-2026-0932Blind server-side request forgery (SSRF) vulnerability in le…7.3
- CVE-2026-0934GitLab has remediated an issue in GitLab EE affecting all ve…3.8
- CVE-2026-0936An Insertion of Sensitive Information into Log File vulnerab…5.1
- CVE-2026-0939The Rede Itaú for WooCommerce plugin for WordPress is vulner…5.3
- CVE-2026-0940A potential improper initialization vulnerability was report…8.4
- CVE-2026-0942The Rede Itaú for WooCommerce — Payment PIX, Credit Card and…5.3
- CVE-2026-0943HarfBuzz::Shaper versions before 0.032 for Perl contains a b…7.5
Are you affected by CVE-2026-0933?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
