PT-2026-3738 · Cloudflare · Wrangler
Kny4Hacker
·
Published
2026-01-20
·
Updated
2026-01-21
·
CVE-2026-0933
CVSS v3.1
9.9
9.9
Critical
| Base vector | Vector | AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Wrangler versions prior to 3.114.17
Wrangler versions prior to 4.59.1
Wrangler version 2 (EOL)
Description
A command injection issue exists in the
wrangler pages deploy command. The issue occurs because the --commit-hash parameter is passed to a shell command without proper validation, allowing an attacker who controls the --commit-hash parameter to execute arbitrary commands on the system running Wrangler. The commitHash variable, obtained from the --commit-hash command-line argument, is directly interpolated into a shell command using template literals. Shell metacharacters are interpreted by the shell, enabling command execution. This primarily affects CI/CD environments where wrangler pages deploy is used in automated pipelines and the --commit-hash parameter is populated from external sources. An attacker could potentially run shell commands, exfiltrate environment variables, or compromise the CI runner. The API Endpoint is wrangler pages deploy and the Vulnerable Parameter is --commit-hash.Recommendations
Wrangler versions prior to 3.114.17 should be upgraded to Wrangler version 3.114.17 or higher.
Wrangler versions prior to 4.59.1 should be upgraded to Wrangler version 4.59.1 or higher.
Users on Wrangler version 2 (EOL) should upgrade to a supported major version.
Fix
RCE
OS Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
CVE-2026-0933
GHSA-36P8-MVP6-CV38
GHSA-8H3Q-9FPP-C883
Affected Products
Wrangler
References · 12
- https://nvd.nist.gov/vuln/detail/CVE-2026-0933 · Security Note
- https://osv.dev/vulnerability/GHSA-36p8-mvp6-cv38 · Vendor Advisory
- https://osv.dev/vulnerability/GHSA-8h3q-9fpp-c883 · Vendor Advisory
- https://osv.dev/vulnerability/CVE-2026-0933 · Vendor Advisory
- https://github.com/cloudflare/workers-sdk⭐ 3775 🔗 1124 · Note
- https://github.com/cloudflare/workers-sdk/releases/tag/wrangler%404.59.1⭐ 3728 🔗 1100 · Note
- https://github.com/cloudflare/workers-sdk/commit/99b1f328a9afe181b49f1114ed47f15f6d25f0be⭐ 3728 🔗 1100 · Note
- https://github.com/cloudflare/workers-sdk/releases/tag/wrangler%403.114.17⭐ 3728 🔗 1100 · Note
- https://github.com/cloudflare/workers-sdk/security/advisories/GHSA-36p8-mvp6-cv38⭐ 3728 🔗 1100 · Note
- https://twitter.com/_cvereports/status/2014111555986604092 · Twitter Post
- https://t.me/CVEtracker/42646 · Telegram Post
- https://twitter.com/CVEnew/status/2013782985607389205 · Twitter Post