Skip to content

🚨 [security] Update wrangler 4.56.0 β†’ 4.59.3 (minor) - #2

Open
depfu[bot] wants to merge 1 commit into
mainfrom
depfu/update/npm/wrangler-4.59.3
Open

🚨 [security] Update wrangler 4.56.0 β†’ 4.59.3 (minor)#2
depfu[bot] wants to merge 1 commit into
mainfrom
depfu/update/npm/wrangler-4.59.3

Conversation

@depfu

@depfu depfu Bot commented Jan 22, 2026

Copy link
Copy Markdown

🚨 Your current dependencies have known security vulnerabilities 🚨

This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!


Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ wrangler (4.56.0 β†’ 4.59.3)

Security Advisories 🚨

🚨 Wrangler affected by OS Command Injection in `wrangler pages deploy`

Summary

A command injection vulnerability (CWE-78) has been found to exist in the wrangler pages deploy command. The issue occurs because the --commit-hash parameter is passed directly to a shell command without proper validation or sanitization, allowing an attacker with control of --commit-hash to execute arbitrary commands on the system running Wrangler.

Root cause

The commitHash variable, derived from user input via the --commit-hash CLI argument, is interpolated directly into a shell command using template literals (e.g., execSync(`git show -s --format=%B ${commitHash}`)). Shell metacharacters are interpreted by the shell, enabling command execution.

Impact

This vulnerability is generally hard to exploit, as it requires --commit-hash to be attacker controlled. The vulnerability primarily affects CI/CD environments where wrangler pages deploy is used in automated pipelines and the --commit-hash parameter is populated from external, potentially untrusted sources. An attacker could exploit this to:

  • Run any shell command.
  • Exfiltrate environment variables.
  • Compromise the CI runner to install backdoors or modify build artifacts.

Mitigation

  • Wrangler v4 users are requested to upgrade to Wrangler v4.59.1 or higher.
  • Wrangler v3 users are requested to upgrade to Wrangler v3.114.17 or higher.
  • Users on Wrangler v2 (EOL) should upgrade to a supported major version.

Credits

Disclosed responsibly by kny4hacker.

Sorry, we couldn't find anything useful about this release.

✳️ zod (3.22.3 β†’ 3.25.76) Β· Repo Β· Changelog

Release Notes

Too many releases to show here. View the full release notes.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ @​cloudflare/kv-asset-handler (indirect, 0.4.1 β†’ 0.4.2) Β· Repo Β· Changelog

↗️ @​emnapi/runtime (indirect, 1.7.1 β†’ 1.8.1) Β· Repo

Release Notes

1.8.1

More info than we can show here.

1.8.0

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ @​img/sharp-darwin-arm64 (indirect, 0.33.5 β†’ 0.34.5) Β· Repo

Release Notes

0.34.5

More info than we can show here.

0.34.4

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ @​img/sharp-darwin-x64 (indirect, 0.33.5 β†’ 0.34.5) Β· Repo

Release Notes

0.34.5

More info than we can show here.

0.34.4

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ @​img/sharp-libvips-darwin-arm64 (indirect, 1.0.4 β†’ 1.2.4) Β· Repo

Release Notes

1.2.4

More info than we can show here.

1.2.3

More info than we can show here.

1.2.2

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ @​img/sharp-libvips-darwin-x64 (indirect, 1.0.4 β†’ 1.2.4) Β· Repo

Release Notes

1.2.4

More info than we can show here.

1.2.3

More info than we can show here.

1.2.2

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ @​img/sharp-libvips-linux-arm (indirect, 1.0.5 β†’ 1.2.4) Β· Repo

Release Notes

1.2.4

More info than we can show here.

1.2.3

More info than we can show here.

1.2.2

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ @​img/sharp-libvips-linux-arm64 (indirect, 1.0.4 β†’ 1.2.4) Β· Repo

Release Notes

1.2.4

More info than we can show here.

1.2.3

More info than we can show here.

1.2.2

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ @​img/sharp-libvips-linux-s390x (indirect, 1.0.4 β†’ 1.2.4) Β· Repo

Release Notes

1.2.4

More info than we can show here.

1.2.3

More info than we can show here.

1.2.2

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ @​img/sharp-libvips-linux-x64 (indirect, 1.0.4 β†’ 1.2.4) Β· Repo

Release Notes

1.2.4

More info than we can show here.

1.2.3

More info than we can show here.

1.2.2

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ @​img/sharp-libvips-linuxmusl-arm64 (indirect, 1.0.4 β†’ 1.2.4) Β· Repo

Release Notes

1.2.4

More info than we can show here.

1.2.3

More info than we can show here.

1.2.2

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ @​img/sharp-libvips-linuxmusl-x64 (indirect, 1.0.4 β†’ 1.2.4) Β· Repo

Release Notes

1.2.4

More info than we can show here.

1.2.3

More info than we can show here.

1.2.2

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ @​img/sharp-linux-arm (indirect, 0.33.5 β†’ 0.34.5) Β· Repo

Release Notes

0.34.5

More info than we can show here.

0.34.4

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ @​img/sharp-linux-arm64 (indirect, 0.33.5 β†’ 0.34.5) Β· Repo

Release Notes

0.34.5

More info than we can show here.

0.34.4

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ @​img/sharp-linux-s390x (indirect, 0.33.5 β†’ 0.34.5) Β· Repo

Release Notes

0.34.5

More info than we can show here.

0.34.4

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ @​img/sharp-linux-x64 (indirect, 0.33.5 β†’ 0.34.5) Β· Repo

Release Notes

0.34.5

More info than we can show here.

0.34.4

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ @​img/sharp-linuxmusl-arm64 (indirect, 0.33.5 β†’ 0.34.5) Β· Repo

Release Notes

0.34.5

More info than we can show here.

0.34.4

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ @​img/sharp-linuxmusl-x64 (indirect, 0.33.5 β†’ 0.34.5) Β· Repo

Release Notes

0.34.5

More info than we can show here.

0.34.4

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ @​img/sharp-wasm32 (indirect, 0.33.5 β†’ 0.34.5) Β· Repo

Release Notes

0.34.5

More info than we can show here.

0.34.4

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ @​img/sharp-win32-ia32 (indirect, 0.33.5 β†’ 0.34.5) Β· Repo

Release Notes

0.34.5

More info than we can show here.

0.34.4

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ @​img/sharp-win32-x64 (indirect, 0.33.5 β†’ 0.34.5) Β· Repo

Release Notes

0.34.5

More info than we can show here.

0.34.4

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ @​sindresorhus/is (indirect, 7.1.1 β†’ 7.2.0) Β· Repo

Release Notes

7.2.0

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ miniflare (indirect, 4.20251217.0 β†’ 4.20260116.0) Β· Repo Β· Changelog

↗️ sharp (indirect, 0.33.5 β†’ 0.34.5) Β· Repo

Release Notes

0.34.5

More info than we can show here.

0.34.4

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ undici (indirect, 7.14.0 β†’ 7.18.2) Β· Repo

Security Advisories 🚨

🚨 Undici has an unbounded decompression chain in HTTP responses on Node.js Fetch API via Content-Encoding leads to resource exhaustion

Impact

The fetch() API supports chained HTTP encoding algorithms for response content according to RFC 9110 (e.g., Content-Encoding: gzip, br). This is also supported by the undici decompress interceptor.

However, the number of links in the decompression chain is unbounded and the default maxHeaderSize allows a malicious server to insert thousands compression steps leading to high CPU usage and excessive memory allocation.

Patches

Upgrade to 7.18.2 or 6.23.0.

Workarounds

It is possible to apply an undici interceptor and filter long Content-Encoding sequences manually.

References

Release Notes

7.18.2

More info than we can show here.

7.18.1

More info than we can show here.

7.18.0

More info than we can show here.

7.17.0

More info than we can show here.

7.16.0

More info than we can show here.

7.15.0

More info than we can show here.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ workerd (indirect, 1.20251217.0 β†’ 1.20260116.0) Β· Repo Β· Changelog

Release Notes

Too many releases to show here. View the full release notes.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

πŸ†• @​img/colour (added, 1.0.0)

πŸ†• @​img/sharp-libvips-linux-ppc64 (added, 1.2.4)

πŸ†• @​img/sharp-libvips-linux-riscv64 (added, 1.2.4)

πŸ†• @​img/sharp-linux-ppc64 (added, 0.34.5)

πŸ†• @​img/sharp-linux-riscv64 (added, 0.34.5)

πŸ†• @​img/sharp-win32-arm64 (added, 0.34.5)

πŸ—‘οΈ acorn-walk (removed)

πŸ—‘οΈ color (removed)

πŸ—‘οΈ color-string (removed)

πŸ—‘οΈ exit-hook (removed)

πŸ—‘οΈ glob-to-regexp (removed)

πŸ—‘οΈ is-arrayish (removed)

πŸ—‘οΈ mime (removed)

πŸ—‘οΈ simple-swizzle (removed)

πŸ—‘οΈ stoppable (removed)

πŸ—‘οΈ acorn (removed)


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)
Go to the Depfu Dashboard to see the state of your dependencies and to customize how Depfu works.

@depfu depfu Bot added the depfu label Jan 22, 2026
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedwrangler@​4.56.0 ⏡ 4.59.398100 +1694 +196 +46100

View full report

@socket-security

Copy link
Copy Markdown

Caution

Review the following alerts detected in dependencies.

According to your organization's Security Policy, you must resolve all "Block" alerts before proceeding. Learn more about Socket for GitHub.

Action Severity Alert  (click "β–Ά" to expand/collapse)
Block Medium
Install-time scripts: npm sharp during install

Install script: install

Source: node install/check.js || npm run build

From: package-lock.json β†’ npm/wrangler@4.59.3 β†’ npm/sharp@0.34.5

β„Ή Read more on: This package | This alert | What is an install script?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/sharp@0.34.5. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants