wrangler
4.164.0 · 17 Nov 2026MIT OR Apache-2.049.3M / weekRepositoryHomepagenpmAtom feed
3.114.17 is the newest release of 3.x.
In short
5 fixed1 internal
Security
1 advisory affects 3.22.3; 3.114.17 fixes them
- HighWrangler affected by OS Command Injection in `wrangler pages deploy`GHSA-36p8-mvp6-cv38 · 21 Jan 2026Fixed in 3.114.17
Release note
Patch Changes
Ensure
wrangler devexits with code0on clean exitPreviously,
wrangler devwould exit with a non-zero exit code when pressing CTRL+C or x. This change ensureswranglerexits with code0in these cases.Ensure User Worker gets the correct Host header in wrangler dev local mode
Some full-stack frameworks, such as Next.js, check that the Host header for a server
side action request matches the host where the application is expected to run.In
wrangler devwe have a Proxy Worker in between the browser and the actual User Worker.
This Proxy Worker is forwarding on the request from the browser, but then the actual User
Worker is running on a different host:port combination than that which the browser thinks
it should be on. This was causing the framework to think the request is malicious and blocking
it.Now we update the request's Host header to that passed from the Proxy Worker in a custom
MF-Original-Url
header, but only do this if the request also contains a shared secret between the Proxy Worker
and User Worker, which is passed via theMF-Proxy-Shared-Secretheader. This last feature is to
prevent a malicious website from faking the Host header in a request directly to the User Worker.Fixes #588
Ensure API failures without additional messages logged correctly
Ensure
wrangler pages devexits cleanlyPreviously, pressing CTRL+C or x when running
wrangler pages devwouldn't actually exitwrangler. You'd need to press CTRL+C a second time to exit the process. This change ensureswranglerexits the first time.Include additional modules in
largest dependencieswarningIf your Worker fails to deploy because it's too large, Wrangler will display of list of your Worker's largest dependencies. Previously, this just included JavaScript dependencies. This change ensures additional module dependencies (e.g. WebAssembly, text blobs, etc.) are included when computing this list.
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.