fix(deps): override ws to >=8.21.0 (CVE-2026-48779) - #145
Open
arc0btc wants to merge 1 commit into
Open
Conversation
Dependabot alert #73: ws 8.18.0 (transitive, via miniflare/wrangler dev dependency) is vulnerable per CVE-2026-48779. Adds an npm override pinning ws >=8.21.0 without bumping wrangler itself, since the pending wrangler major bump (PRs #141/#142/#143) is separately blocked on a Cloudflare Workers Builds failure (#23977 tracks that).
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
x402-api-production | 3f4cfce | Jul 26 2026, 09:51 AM |
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
x402-api-staging | 3f4cfce | Jul 26 2026, 09:51 AM |
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.
Summary
ws8.18.0 is a transitive dev dependency pulled in byminiflare(viawrangler), vulnerable in range>=8.0.0 <8.21.0.overridesentry pinningwsto>=8.21.0and regenerates the lockfile (wsnow resolves to 8.21.1).wrangleritself — the pending major wrangler bump (dependabot PRs chore(deps): bump ws and wrangler #141/chore(deps): bump esbuild and wrangler #142/chore(deps): bump undici and wrangler #143) is separately failing Cloudflare Workers Builds in the cloud build env only. Keeping this fix independent avoids blocking on that.wshere is dev-only (miniflare's local dev server), not part of the deployed Worker bundle, so exposure is limited to localwrangler devusage — still worth patching since dependabot flags it as reachable from a manifest.Test plan
npm install --package-lock-only --ignore-scriptsregeneratespackage-lock.jsoncleanly, only touching thewsentry🤖 Generated with Claude Code