Skip to content

fix(frontend): bump next to 16.4.2 and @sentry/nextjs to 10.76.2 - #893

Merged
ExcelDsigN-tech merged 1 commit into
mainfrom
fix/frontend-next-critical
Oct 23, 2026
Merged

ExcelDsigN-tech merged 1 commit into
mainfrom
fix/frontend-next-critical

Conversation

@ExcelDsigN-tech

@ExcelDsigN-tech ExcelDsigN-tech commented Oct 23, 2026 •

Copy link
Copy Markdown
Owner

Overview

Deploy Staging failed on main at 29bedee in the frontend image's critical-severity Trivy scan. The frontend runs next 16.3.6 and @sentry/nextjs 10.73.0, which have critical advisories:

  • GHSA-2464-fhr4-w9xw: unauthenticated RCE in the Next.js Image Optimization API with SVGs (fixed in 16.4.1)
  • GHSA-673q-mjm6-r5xr: unauthenticated RCE in use cache functions returning typed arrays (fixed in 16.4.1)
  • GHSA-mchm-gjx6-7h55: Sentry middleware bypass via the tunnel route (fixed in 10.75.2)

Refs #880

Feature Summary

  • next ^16.4.2, @sentry/nextjs ^10.76.2, @next/bundle-analyzer ^16.4.2
  • Lockfile regenerated with npm install; eslint-config-next and eslint-plugin-react-hooks stay as they are (bumping them turns on new hooks lint rules, which is a separate refactor)

Technical Implementation

Dependency-only change. No code, config or env changes.

Test Coverage

Checklists

General

  • Ran ./scripts/ci-local.sh frontend and it passes
  • Tests added or updated for the change (dependency bump only)
  • No skipped tests, removed assertions or raised limits
  • Docs updated if behaviour changed (no behaviour change)
  • Conventional Commits title and messages
  • Security-sensitive change: .github/THREAT_MODEL.md attached (dependency security patch, no change to the threat model)

next < 16.4.1 has two unauthenticated RCE advisories (GHSA-2464-fhr4-w9xw,
GHSA-673q-mjm6-r5xr) and @sentry/nextjs < 10.75.2 a middleware bypass via the
tunnel route (GHSA-mchm-gjx6-7h55). The Deploy Staging critical Trivy scan of
the frontend image fails on them. @next/bundle-analyzer follows next.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BhWKLLcboJNvWt5wzvMbDn
@coderabbitai

coderabbitai Bot commented Oct 23, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ff573211-b026-4a1c-8fcc-cb815fbb5518
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ExcelDsigN-tech
ExcelDsigN-tech merged commit 96f9401 into main Oct 23, 2026
25 of 30 checks passed
@ExcelDsigN-tech
ExcelDsigN-tech deleted the fix/frontend-next-critical branch October 23, 2026 08:10
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