Skip to content

fix: upgrade next to 16.2.11 to address CVE-2026-64641#3071

Merged
TooTallNate merged 1 commit into
mainfrom
naterajlich/vuln-13454-dependency-vulnerability-cve-2026-64641-affects-next1621-in
Jul 23, 2026
Merged

fix: upgrade next to 16.2.11 to address CVE-2026-64641#3071
TooTallNate merged 1 commit into
mainfrom
naterajlich/vuln-13454-dependency-vulnerability-cve-2026-64641-affects-next1621-in

Conversation

@TooTallNate

Copy link
Copy Markdown
Member

Fixes VULN-13454

Summary

Socket.dev flagged next@16.2.1 (CVE-2026-64641, CVSS 8.2 High) — DoS via crafted requests to App Router apps using Server Actions. Affected versions: >= 13.0.0 < 15.5.21; >= 16.0.0 < 16.2.11.

Changes

Bumped next to 16.2.11 everywhere a vulnerable version was declared:

  • workbench/swc-playground: 16.2.116.2.11 (the manifest the alert was filed against)
  • docs: 16.2.616.2.11
  • workbench/nextjs-turbopack / workbench/nextjs-webpack: 16.2.1016.2.11
  • packages/next (devDependency): 16.2.1016.2.11 — peer range (>13) unchanged
  • Lockfile now resolves a single next@16.2.11 (previous 16.2.1 / 16.2.6 / 16.2.10 entries removed)

postcss override (CVE-2026-45623) — kept

Checked whether the postcss@<8.5.12: 8.5.16 override from #3067 could be removed: it cannot. next@16.2.11 still declares postcss: 8.4.31 upstream, which is inside that CVE's affected range, so the override remains and continues to map it to 8.5.16 (verified in the lockfile).

Verification

  • Fresh pnpm install + pnpm build (27/27 tasks) pass
  • workbench/nextjs-turbopack production build succeeds on next@16.2.11
  • Changeset included for @workflow/next (patch); pnpm changeset status --since=main passes

Copilot AI review requested due to automatic review settings July 23, 2026 22:02
@TooTallNate
TooTallNate requested review from a team and ijjk as code owners July 23, 2026 22:02
@changeset-bot

changeset-bot Bot commented Jul 23, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: c7fdb39

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 16 packages
Name Type
@workflow/next Patch
workflow Patch
@workflow/world-testing Patch
@workflow/core Patch
@workflow/builders Patch
@workflow/cli Patch
@workflow/nitro Patch
@workflow/vitest Patch
@workflow/web-shared Patch
@workflow/web Patch
@workflow/astro Patch
@workflow/nest Patch
@workflow/nuxt Patch
@workflow/rollup Patch
@workflow/sveltekit Patch
@workflow/vite Patch

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

@github-actions

github-actions Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

🧪 E2E Test Results

All tests passed

Summary

Passed Failed Skipped Total
✅ ▲ Vercel Production 1455 0 239 1694
✅ 💻 Local Development 1621 0 227 1848
✅ 📦 Local Production 1621 0 227 1848
✅ 🐘 Local Postgres 1621 0 227 1848
✅ 🪟 Windows 154 0 0 154
✅ 📋 Other 1020 0 212 1232
✅ vercel-multi-region 27 0 0 27
Total 7519 0 1132 8651

Details by Category

✅ ▲ Vercel Production
App Passed Failed Skipped
✅ astro 126 0 28
✅ example 126 0 28
✅ express 126 0 28
✅ fastify 126 0 28
✅ hono 126 0 28
✅ nextjs-turbopack 151 0 3
✅ nextjs-webpack 151 0 3
✅ nitro 126 0 28
✅ nuxt 126 0 28
✅ sveltekit 145 0 9
✅ vite 126 0 28
✅ 💻 Local Development
App Passed Failed Skipped
✅ astro-stable 128 0 26
✅ express-stable 128 0 26
✅ fastify-stable 128 0 26
✅ hono-stable 128 0 26
✅ nextjs-turbopack-canary 135 0 19
✅ nextjs-turbopack-stable 154 0 0
✅ nextjs-webpack-canary 135 0 19
✅ nextjs-webpack-stable 154 0 0
✅ nitro-stable 128 0 26
✅ nuxt-stable 128 0 26
✅ sveltekit-stable 147 0 7
✅ vite-stable 128 0 26
✅ 📦 Local Production
App Passed Failed Skipped
✅ astro-stable 128 0 26
✅ express-stable 128 0 26
✅ fastify-stable 128 0 26
✅ hono-stable 128 0 26
✅ nextjs-turbopack-canary 135 0 19
✅ nextjs-turbopack-stable 154 0 0
✅ nextjs-webpack-canary 135 0 19
✅ nextjs-webpack-stable 154 0 0
✅ nitro-stable 128 0 26
✅ nuxt-stable 128 0 26
✅ sveltekit-stable 147 0 7
✅ vite-stable 128 0 26
✅ 🐘 Local Postgres
App Passed Failed Skipped
✅ astro-stable 128 0 26
✅ express-stable 128 0 26
✅ fastify-stable 128 0 26
✅ hono-stable 128 0 26
✅ nextjs-turbopack-canary 135 0 19
✅ nextjs-turbopack-stable 154 0 0
✅ nextjs-webpack-canary 135 0 19
✅ nextjs-webpack-stable 154 0 0
✅ nitro-stable 128 0 26
✅ nuxt-stable 128 0 26
✅ sveltekit-stable 147 0 7
✅ vite-stable 128 0 26
✅ 🪟 Windows
App Passed Failed Skipped
✅ nextjs-turbopack 154 0 0
✅ 📋 Other
App Passed Failed Skipped
✅ e2e-local-dev-nest-stable 128 0 26
✅ e2e-local-dev-tanstack-start- 128 0 26
✅ e2e-local-postgres-nest-stable 128 0 26
✅ e2e-local-postgres-tanstack-start- 128 0 26
✅ e2e-local-prod-nest-stable 128 0 26
✅ e2e-local-prod-tanstack-start- 128 0 26
✅ e2e-vercel-prod-nest 126 0 28
✅ e2e-vercel-prod-tanstack-start 126 0 28
✅ vercel-multi-region
App Passed Failed Skipped
✅ nextjs-turbopack 27 0 0

📋 View full workflow run

@vercel

vercel Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
example-nextjs-workflow-turbopack Ready Ready Preview, Comment Jul 23, 2026 10:06pm
example-nextjs-workflow-webpack Ready Ready Preview, Comment Jul 23, 2026 10:06pm
example-workflow Ready Ready Preview, Comment Jul 23, 2026 10:06pm
workbench-astro-workflow Ready Ready Preview, Comment Jul 23, 2026 10:06pm
workbench-express-workflow Ready Ready Preview, Comment Jul 23, 2026 10:06pm
workbench-fastify-workflow Ready Ready Preview, Comment Jul 23, 2026 10:06pm
workbench-hono-workflow Ready Ready Preview, Comment Jul 23, 2026 10:06pm
workbench-nestjs-workflow Ready Ready Preview, Comment Jul 23, 2026 10:06pm
workbench-nitro-workflow Ready Ready Preview, Comment Jul 23, 2026 10:06pm
workbench-nuxt-workflow Ready Ready Preview, Comment Jul 23, 2026 10:06pm
workbench-sveltekit-workflow Ready Ready Preview, Comment Jul 23, 2026 10:06pm
workbench-tanstack-start-workflow Ready Ready Preview, Comment Jul 23, 2026 10:06pm
workbench-vite-workflow Ready Ready Preview, Comment Jul 23, 2026 10:06pm
workflow-docs Ready Ready Preview, Comment, Open in v0 Jul 23, 2026 10:06pm
workflow-swc-playground Ready Ready Preview, Comment Jul 23, 2026 10:06pm
workflow-tarballs Ready Ready Preview, Comment Jul 23, 2026 10:06pm
workflow-web Ready Ready Preview, Comment Jul 23, 2026 10:06pm

@github-actions

github-actions Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

📊 Workflow Benchmarks

commit c7fdb39 · Thu, 23 Jul 2026 22:16:31 GMT · run logs

Backend: vercel · app: nextjs-turbopack

Metric Scenario Best (ms) P75 (ms) P90 (ms) P99 (ms) Samples
TTFS step 1108 (+338%) 🔻 1176 🔴 (+9.9%) 1183 🔴 (+4.8%) 1199 🔴 (-21%) 💚 30
TTFS stream 1112 (+20%) 🔻 1162 🔴 (+15%) 1184 🔴 (+15%) 1519 🔴 (+44%) 🔻 30
TTFS hook + stream 654 (+15%) 1412 🔴 (+8.7%) 1426 🔴 (+6.7%) 1526 🔴 (-8.5%) 30
STSO 1020 steps (1-20) 170 (+4.3%) 243 🔴 (-5.8%) 296 🔴 (-16%) 💚 338 🔴 (-18%) 💚 19
STSO 1020 steps (101-120) 166 (-8.3%) 240 🔴 (-9.8%) 297 🔴 (-6.6%) 480 🔴 (+41%) 🔻 19
STSO 1020 steps (1001-1020) 440 (-5.6%) 504 🔴 (-6.1%) 559 🔴 (±0%) 618 🔴 (-20%) 💚 19
WO 1020 steps 359818 (-7.7%) 359818 (-7.7%) 359818 (-7.7%) 359818 (-7.7%) 1
SL stream latency 83 (+1.2%) 134 🔴 (+21%) 🔻 148 🔴 (+14%) 170 🔴 (-19%) 💚 30

Best/P75/P90/P99 deltas compare against the most recent benchmark run on main at the time of this run. 🔻 flags a delta worse than +15%, 💚 one better than −15%.

Metrics — TTFS: time to first step body (in-deployment start() → first step body, deployment clocks) · STSO: step-to-step overhead (gap between consecutive step bodies) · WO: workflow overhead (whole-run time outside step bodies, in-deployment anchored) · SL: stream latency (in-deployment write → read propagation, readAt - writtenAt)

Scenarios — step: one trivial no-op step, no stream; no hooks, so the run stays in turbo mode (in-process fast path) · stream: one streaming step; no hooks, so the run stays in turbo mode (in-process fast path) · hook + stream: registers a hook before one step, which exits turbo mode (dispatch path) · 1020 steps: 1020 trivial sequential steps; STSO is measured between consecutive steps in the given step ranges, and WO is the whole-run overhead outside step bodies · stream latency: parallel reader/writer steps on a dedicated stream; SL is the in-deployment write->read propagation (readAt - writtenAt)

🔴 marks a percentile over its target (within target is left unmarked). Targets (p75/p90/p99, ms) — TTFS 200/300/600 · SL 50/60/125 · STSO (1-20) 20/30/60 · STSO (101-120) 30/45/90 · STSO (1001-1020) 40/60/120

All metrics are measured from deployment-side timestamps only. Runs are triggered by an in-deployment route that stamps the anchor (clientStart) right before start(), so the CI runner’s request and its path through api.vercel.com sit outside every measured window. TTFS = in-deployment start() → first step body (turbo uses the in-process fast path, non-turbo the dispatch path), and includes the VQS dispatch hop plus any /flow cold start. STSO/WO are measured between step bodies on the deployment. SL is measured inside the workflow (parallel reader/writer steps), so it no longer includes the api.vercel.com read path.

Cold starts are kept in the numbers on purpose — they are part of real bursty-workload latency. The workbench deployment cold-starts the /flow invocation for a large fraction of runs, inflating P75+; the Best column shows the fastest (warm-start) sample for comparison.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Upgrades Next.js to 16.2.11 across the repo to remediate CVE-2026-64641 (DoS affecting App Router + Server Actions), ensuring all declared versions and the lockfile resolve to the patched release.

Changes:

  • Bump next to 16.2.11 in all workbenches/docs that previously pinned vulnerable 16.2.x versions.
  • Update packages/next devDependency to 16.2.11 (peer range unchanged).
  • Regenerate pnpm-lock.yaml to remove older next@16.2.{1,6,10} resolutions and converge on 16.2.11.

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
workbench/swc-playground/package.json Pins next to 16.2.11 for the swc playground app.
workbench/nextjs-webpack/package.json Pins next to 16.2.11 for the webpack workbench app.
workbench/nextjs-turbopack/package.json Pins next to 16.2.11 for the turbopack workbench app.
docs/package.json Pins next to 16.2.11 for the docs site workspace.
packages/next/package.json Updates next devDependency to 16.2.11 for @workflow/next.
pnpm-lock.yaml Removes older Next.js resolutions and updates the dependency graph to next@16.2.11.
.changeset/hip-onions-refuse.md Adds a patch changeset for @workflow/next reflecting the devDependency bump.
Files not reviewed (1)
  • pnpm-lock.yaml: Generated file

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@TooTallNate
TooTallNate merged commit f11e9fe into main Jul 23, 2026
103 of 104 checks passed
@TooTallNate
TooTallNate deleted the naterajlich/vuln-13454-dependency-vulnerability-cve-2026-64641-affects-next1621-in branch July 23, 2026 22:18
github-actions Bot added a commit that referenced this pull request Jul 23, 2026
Signed-off-by: Nathan Rajlich <n@n8.io>
@github-actions

Copy link
Copy Markdown
Contributor

Backport PR opened against stable: #3073. Merge conflicts were resolved by AI — please review carefully. (backport job run)

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.

3 participants