Skip to content

🔒 chore: Upgrade Next.js to 16.4.1 for Security Fixes - #868

Merged
berry-13 merged 1 commit into
mainfrom
berry-13/next-security-16.4.1
Oct 23, 2026
Merged

berry-13 merged 1 commit into
mainfrom
berry-13/next-security-16.4.1

Conversation

@berry-13

Copy link
Copy Markdown
Collaborator

Summary

Upgrades Next.js from 16.4.0 to 16.4.1. 16.4.0 is affected by two critical unauthenticated remote code execution advisories (GHSA-2464-fhr4-w9xw in the Image Optimization API with SVG files, GHSA-673q-mjm6-r5xr in use cache functions returning typed arrays) and a high-severity Server Actions denial of service (GHSA-p3m5-59mp-jv5r). 16.4.1 is the first release without them, and next build on 16.4.0 now stops with a security error.

Only next and its own @next/env and SWC packages change in the lockfile.

Change Type

  • Dependency update (security)

Testing

  • npm advisory bulk endpoint: 3 advisories for 16.4.0, none for 16.4.1
  • pnpm build: exit 0, 4,121/4,121 static pages, no security error (16.4.0 exits 1)
  • pnpm typecheck and pnpm lint pass; vitest run 436/436
  • pnpm install --frozen-lockfile against the public registry succeeds

Checklist

  • Lockfile has no internal registry URLs

16.4.0 is affected by GHSA-2464-fhr4-w9xw and GHSA-673q-mjm6-r5xr
(unauthenticated remote code execution) and GHSA-p3m5-59mp-jv5r (Server
Actions denial of service). 16.4.1 is the first release without them.
@vercel

vercel Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
librechat-ai Ready Ready Preview Oct 23, 2026 4:15pm UTC

Request Review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-23T16:09:14.524429Z 8db9f41 PR opened
🔒 Security Review ✅ Completed 2026-10-23T16:10:01.077035Z 8db9f41 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown
Contributor

📦 Next.js Bundle Analysis for librechat.ai

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@berry-13
berry-13 merged commit 60684df into main Oct 23, 2026
5 checks passed
@berry-13
berry-13 deleted the berry-13/next-security-16.4.1 branch October 23, 2026 16:27

This branch was successfully deployed

1 active deployment
Preview — 8db9f410 Deployed Oct 23, 2026 by vercel[bot]
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