fix: bump vulnerable direct dependencies#12790
Merged
petebacondarwin merged 1 commit intomainfrom Mar 6, 2026
Merged
Conversation
Bump direct dependencies to address Dependabot security alerts: - hono: ^4.7.0/^4.11.5 -> ^4.12.5 (13 alerts: arbitrary file access, JWT confusion, XSS, etc.) - devalue: ^5.3.2 -> ^5.6.3 (4 alerts: DoS, prototype pollution) - node-forge: ^1.3.1 -> ^1.3.2 (3 alerts: ASN.1 vulnerabilities) - glob: ^10.3.3/^10.4.5 -> ^10.5.0 (1 alert: command injection in CLI) - vite catalog: ^5.4.14 -> ^5.4.21 (7 alerts: server.fs.deny bypasses) Also fixes type errors in miniflare's local-explorer workers caused by hono 4.12's stricter c.req.param() return type (string | undefined).
🦋 Changeset detectedLatest commit: 6f361a7 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Contributor
|
✅ All changesets look good |
create-cloudflare
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-shared
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-pool-workers
@cloudflare/workers-editor-shared
wrangler
commit: |
Contributor
|
Codeowners approval required for this PR:
Show detailed file reviewers |
jamesopstad
approved these changes
Mar 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Addresses https://github.com/cloudflare/workers-sdk/security/dependabot
Summary
Bumps direct dependencies with known security vulnerabilities to their patched versions. This resolves ~28 of the 112 open Dependabot alerts.
Changes
^4.7.0/^4.11.5^4.12.5^5.3.2^5.6.3^1.3.1^1.3.2^10.3.3/^10.4.5^10.5.0^5.4.14^5.4.21Additional fixes
miniflare/src/workers/local-explorer/resources/d1.tsandkv.tscaused by hono 4.12's stricterc.req.param()return type (string | undefinedinstead ofstring). Added runtime parameter validation guards.vitest>vitepnpm override from"^5.0.0"to"catalog:default"to keep vitest's vite version in sync with the catalog, preventing type mismatches.Remaining alerts
~84 alerts remain, mostly from transitive dependencies and false positives (self-referential alerts for wrangler/vite-plugin workspace packages). These can be addressed in follow-up PRs via pnpm overrides and fixture updates.