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 fixed
Security
3 advisories affect 2.12.3; 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
Changed console.debug for logger.debug in Pages uploading. This will ensure the debug logs are only sent when debug logging is enabled with
WRANGLER_LOG=debug.Add D1 binding support to Email Workers
This PR makes it possible to query D1 from an Email Worker, assuming a binding has been setup.
As D1 is in alpha and not considered "production-ready", this changeset is a patch, rather than a minor bump to wrangler.
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.