Skip to content
This repository was archived by the owner on Jul 29, 2026. It is now read-only.

fix(security): upgrade Next.js 16.2.0 → 16.2.10 to patch 14 CVEs - #90

Draft
caimanoliveira wants to merge 1 commit into
mainfrom
claude/kind-keller-06yzc1
Draft

fix(security): upgrade Next.js 16.2.0 → 16.2.10 to patch 14 CVEs#90
caimanoliveira wants to merge 1 commit into
mainfrom
claude/kind-keller-06yzc1

Conversation

@caimanoliveira

Copy link
Copy Markdown
Owner

Summary

  • Upgrades next from 16.2.016.2.10 to patch 14 high-severity CVEs
  • Also removes ws uninitialized-memory-disclosure vulnerability via npm audit fix
  • Build confirmed green — all 22 routes pass TypeScript checks and static generation

CVEs fixed in Next.js 16.2.10

Severity Advisory Description
HIGH GHSA-267c-6grr-h53f Middleware/Proxy bypass via segment-prefetch routes
HIGH GHSA-492v-c6pp-mqqv Middleware/Proxy bypass via dynamic route param injection
HIGH GHSA-26hh-7cqf-hhc6 Middleware/Proxy bypass — incomplete fix follow-up
HIGH GHSA-36qx-fr4f-26g5 Middleware/Proxy bypass in Pages Router i18n
HIGH GHSA-wfc6-r584-vfw7 Cache poisoning in RSC responses
HIGH GHSA-vfv6-92ff-j949 Cache poisoning via RSC cache-busting collisions
HIGH GHSA-3g8h-86w9-wvmq Cache poisoning via Middleware redirects
HIGH GHSA-q4gf-8mx6-v5v3 DoS with Server Components
HIGH GHSA-8h8q-6873-q5fj DoS with Server Components (variant)
HIGH GHSA-mg66-mrh9-m8jx DoS via Cache Components connection exhaustion
HIGH GHSA-h64f-5h5j-jqjh DoS in Image Optimization API
HIGH GHSA-ffhc-5mcf-pf4q XSS via CSP nonces in App Router
HIGH GHSA-gx5p-jg67-6x7h XSS in beforeInteractive scripts
HIGH GHSA-c4j6-fc7j-m34r SSRF via WebSocket upgrades

Remaining known issue

postcss <8.5.10 (moderate, GHSA-qx2v-qp2m-jg93) is bundled inside node_modules/next/node_modules/postcss — it cannot be overridden without downgrading to a breaking Next.js version.

⚠️ Note for reviewers

There are currently 30 open PRs on this repo all attempting the same Next.js upgrade. This is being caused by the automated routine re-running daily without any PRs being merged. Please merge one and close the others, or merge this one directly.


Generated by Claude Code

Fixes 14 high/critical vulnerabilities in next@16.2.0 including:
- Multiple Middleware/Proxy bypass vectors (GHSA-267c-6grr-h53f, GHSA-492v-c6pp-mqqv, GHSA-26hh-7cqf-hhc6, GHSA-36qx-fr4f-26g5)
- Cache poisoning in RSC responses (GHSA-wfc6-r584-vfw7, GHSA-vfv6-92ff-j949, GHSA-3g8h-86w9-wvmq)
- Denial of Service via Server Components and Cache Components (GHSA-q4gf-8mx6-v5v3, GHSA-8h8q-6873-q5fj, GHSA-mg66-mrh9-m8jx, GHSA-h64f-5h5j-jqjh)
- XSS via CSP nonces and beforeInteractive scripts (GHSA-ffhc-5mcf-pf4q, GHSA-gx5p-jg67-6x7h)
- SSRF via WebSocket upgrades (GHSA-c4j6-fc7j-m34r)

Also removes ws uninitialized memory disclosure via npm audit fix.
Build confirmed green — all 22 routes pass TypeScript and static gen.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NmU3dL1izQrdcspZCaCGVQ
@vercel

vercel Bot commented Jul 20, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
mentoria-crm Error Error Jul 20, 2026 7:13am
splinter Ready Ready Preview, Comment Jul 20, 2026 7:13am
splinter-yhcm Ready Ready Preview, Comment Jul 20, 2026 7:13am

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants