wrangler
4.164.0 · 17 Nov 2026MIT OR Apache-2.049.3M / weekRepositoryHomepagenpmAtom feed
2.21.3 is the newest release of 2.x.
In short
1 new1 fixed1 internal
Security
3 advisories affect 2.14.0; 3.114.17 fixes them
- CriticalArbitrary remote code execution within `wrangler dev` Workers sandboxGHSA-f8mp-x433-5wpf · 3 Jan 2024Fixed in 2.20.2
- HighWrangler affected by OS Command Injection in `wrangler pages deploy`GHSA-36p8-mvp6-cv38 · 21 Jan 2026Fixed in 3.114.17
- ModerateCloudflare Wrangler directory traversal vulnerabilityGHSA-8c93-4hch-xgxp · 3 Aug 2023Fixed in 2.20.1
Release note
Minor Changes
Add support for send email bindings
Support send email bindings in order to send emails from a worker. There
are three types of bindings:Unrestricted: can send email to any verified destination address.
Restricted: can only send email to the supplied destination address (which
does not need to be specified when sending the email but also needs to be a
verified destination address).Allowlist: can only send email to the supplied list of verified destination
addresses.
Patch Changes
Pages Dev incorrectly allowing people to turn off local mode
Local mode is not currently supported in Pages Dev, and errors when people attempt to use it. Previously, wrangler hid the "toggle local mode" button when using Pages dev, but this got broken somewhere along the line.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.