wrangler
4.164.0 · 17 Nov 2026MIT OR Apache-2.049.3M / weekRepositoryHomepagenpmAtom feed
4.167.0 is the newest release of 4.x.
In short
2 fixed
Security
1 advisory affects 4.45.3; 4.59.1 fixes them
- HighWrangler affected by OS Command Injection in `wrangler pages deploy`GHSA-36p8-mvp6-cv38 · 21 Jan 2026Fixed in 4.59.1
Release note
Patch Changes
Show local/remote status before D1 command confirmations
D1 commands (
execute,export,migrations apply,migrations list,delete,time-travel) now display whether they're running against local or remote databases before showing confirmation prompts. This prevents confusion about which database will be affected by the operation.Ensure that process.env is case-insensitive on Windows
The object that holds the environment variables in
process.envdoes not care about the case of its keys
in Windows. For example,process.env.SystemRootandprocess.env.SYSTEMROOTwill refer to the same value.Previously, when merging fields from
.envfiles we were replacing this native object with a vanilla
JavaScript object, that is case-insensitive, and so sometimes environment variables appeared to be missing
when in reality they just had different casing.
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.