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
3 fixed1 internal
Security
3 advisories affect 2.16.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
Patch Changes
Disable persistence without
--persistin--experimental-localThis ensures
--experimental-localdoesn't persist data on the file-system, unless the--persistflag is set.
Data is still always persisted between reloads.Teach D1 commands to read auth configuration from wrangler.toml
This PR fixes a bug in how D1 handles a user's accounts. We've updated the D1 commands to read from config (typically via wrangler.toml) before trying to run commands. This means if an
account_idis defined in config, we'll use that instead of erroring out when there are multiple accounts to pick from.Fixes #3046
Disable route validation when using
--experimental-localThis ensures
wrangler dev --experimental-localdoesn't require a login or an internet connection if arouteis configured.
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.