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 - #85

Draft
caimanoliveira wants to merge 2 commits into
mainfrom
claude/kind-keller-9pswi3
Draft

fix(security): upgrade Next.js 16.2.0 → 16.2.10 to patch 14 CVEs#85
caimanoliveira wants to merge 2 commits into
mainfrom
claude/kind-keller-9pswi3

Conversation

@caimanoliveira

Copy link
Copy Markdown
Owner

Summary

  • Upgrades next from 16.2.0 to 16.2.10 to patch 14 known CVEs
  • Also fixes ws memory disclosure and DoS vulnerabilities (via npm audit fix)
  • Build verified clean on Next.js 16.2.10 (all 22 routes, 0 TypeScript errors)

Vulnerabilities patched

Severity CVE / Advisory Description
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 connection exhaustion (Cache Components)
High GHSA-h64f-5h5j-jqjh DoS in Image Optimization API
High GHSA-26hh-7cqf-hhc6 Middleware/Proxy bypass via segment-prefetch (incomplete fix follow-up)
High GHSA-267c-6grr-h53f Middleware/Proxy bypass via segment-prefetch routes
High GHSA-492v-c6pp-mqqv Middleware/Proxy bypass via dynamic route parameter injection
High GHSA-36qx-fr4f-26g5 Middleware/Proxy bypass in Pages Router i18n
High GHSA-3g8h-86w9-wvmq Cache poisoning via Middleware redirects
High GHSA-vfv6-92ff-j949 Cache poisoning via RSC cache-busting collisions
High GHSA-wfc6-r584-vfw7 Cache poisoning in RSC responses
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
High GHSA-58qx-3vcg-4xpx ws: uninitialized memory disclosure
High GHSA-96hv-2xvq-fx4p ws: memory exhaustion DoS

Remaining known issues

Two moderate advisories remain (PostCSS XSS in CSS stringify output, inside Next.js's own internal dependency). The proposed fix would downgrade Next.js to 9.x — a breaking change. These are not directly exploitable through application code and are tracked here for awareness.


Generated by Claude Code

@vercel

vercel Bot commented Jul 15, 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 15, 2026 7:14am
splinter Ready Ready Preview, Comment Jul 15, 2026 7:14am
splinter-yhcm Ready Ready Preview, Comment Jul 15, 2026 7:14am

CI: actions/checkout@v2→@v4, setup-python@v1→@v5, python-version 3.9
is no longer available on GitHub runners (only 3.10+ exist).

mentoria-crm/vercel.json: skip supabase CLI binary download during
Vercel install (SUPABASE_SKIP_INSTALL_BINARY=true) — the postinstall
script was failing with 403 on the GitHub releases download, blocking
the preview deployment.

mentoria-crm/package.json: bump next + eslint-config-next 16.2.0→16.2.10
(same CVE batch as the root package).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LrXYe44Co4cW3PTvbhh2o1
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