Skip to content

build(deps): Next 16.4.5 with OpenNext 1.20.16; clear security alerts - #112

Merged
linxule merged 2 commits into
mainfrom
fix/dependabot-next-16.4
Nov 7, 2026
Merged

linxule merged 2 commits into
mainfrom
fix/dependabot-next-16.4

Conversation

@linxule

@linxule linxule commented Nov 7, 2026 •

Copy link
Copy Markdown
Owner

Why

Next ≤16.4.0 has two critical unauthenticated RCEs and one high DoS. No 16.3.x backport exists, so the 16.3 hold has to end:

The hold (65af40c) existed because Next 16.4.0 made the OpenNext Worker return 500 on every route (opennextjs/opennextjs-cloudflare#1355). That issue closed on 2026-10-15. OpenNext 1.20.16 declares next >=16.4.5 as its peer, and the artifact lane passes, so the Dependabot next >=16.4.0 ignore is removed.

Changes

  • next / eslint-config-next ^16.3.8 → ^16.4.5; @opennextjs/cloudflare 1.20.10 → 1.20.16
  • overrides.zod ^4.6.6: @cloudflare/vitest-plugin 1.4.0 pins zod 4.6.5, which held the shared copy back, so npm audit --omit=dev --audit-level=high was failing on main
  • overrides.miniflare.undici 7.29.1 → 7.30.2; every undici copy is now outside the advisory ranges
  • Removes the Dependabot ignore for next >=16.4.0

Verified locally

lint · typecheck · test (3745) · test:cloudflare (511) · build:cloudflare · test:cloudflare:artifact (51) · test:cloudflare:restart · prod audit at high

Not run locally: e2e browser lanes and redis lanes; CI covers them.

After merge

Pushing to main deploys nothing. Release through the installer: npm run check:cloudflare on a clean checkout, then setup:cloudflare -- update for staging and then production. The 500 regression would show up on staging first.

Overlaps the next/OpenNext/zod parts of Dependabot #111 and supersedes #107 (vite 8.3.6). The braces audit exception is removed; the toolchain audit reports it unused.

🤖 Generated with Claude Code

linxule and others added 2 commits November 7, 2026 19:38
Next <=16.4.0 carries two critical unauthenticated RCEs (GHSA-673q-mjm6-r5xr
`use cache` typed arrays; GHSA-2464-fhr4-w9xw Image Optimization with SVG)
and a Server Actions DoS (GHSA-p3m5-59mp-jv5r). No 16.3.x backport exists.

Next was held at 16.3 (65af40c) because 16.4.0 made the OpenNext Worker
answer every route with 500 (opennextjs/opennextjs-cloudflare#1355). That
issue closed 2026-10-15; OpenNext 1.20.16 declares next >=16.4.5 as its
peer, and the artifact lane now passes, so the Dependabot ignore is lifted.

Also: zod override ^4.6.6 (@cloudflare/vitest-plugin 1.4.0 pins 4.6.5,
which held the shared copy back; the prod audit gate failed on main), and
the miniflare undici override 7.29.1 -> 7.30.2.

Verified locally: lint, typecheck, test (3745), test:cloudflare (511),
build:cloudflare, test:cloudflare:artifact (51), test:cloudflare:restart,
npm audit --omit=dev --audit-level=high. Not run: e2e browser lanes, redis
lanes (CI covers them).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The toolchain audit blocked on vite GHSA-587h-7wmj-h5pm (Dependabot #107)
and flagged the braces exception as unused now that its path is gone.
audit-toolchain and the prod audit both pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@linxule
linxule merged commit e516684 into main Nov 7, 2026
6 checks passed
@linxule
linxule deleted the fix/dependabot-next-16.4 branch November 7, 2026 19:00
@linxule linxule mentioned this pull request Nov 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant