T
traeai
登录
返回首页
Vercel News

Next.js 2026 年 5 月安全更新

8.5Score
Next.js 2026 年 5 月安全更新

TL;DR · AI 摘要

Next.js 发布了修复 13 个安全漏洞的更新,涵盖拒绝服务、中间件绕过等关键问题。

核心要点

  • 修复了一个与 React Server Components 相关的上游漏洞 CVE-2026-23870。
  • 建议开发者尽快升级至最新版本以避免潜在攻击风险。
  • 此次更新涉及 DoS、SSRF、缓存投毒和 XSS 等多种类型的安全问题。

结构提纲

按章节快速跳转。

  1. 概述了 Next.js 的安全更新及其覆盖的 13 项漏洞。

  2. 建议开发者采取措施升级到修补后的版本。

思维导图

用一张图看清主题之间的关系。

查看大纲文本(无障碍 / 无 JS 友好)
  • Next.js May 2026 Security Release
    • Summary
      • 13 advisories addressed
    • Recommended actions
      • Upgrade to patched versions

金句 / Highlights

值得收藏与分享的关键句。

#Next.js#React#安全更新
打开原文

Next.js May 2026 security release - Vercel

Skip to content

[](http://vercel.com/home)

  • Products
  • ##### Core Platform
  • Resources
  • ##### Company
  • ##### Learn
  • ##### Open Source
  • Solutions
  • ##### Use Cases
  • ##### Tools
  • ##### Users

Ask AI

Ask AILog In

Sign UpSign Up

Blog/Changelog

Next.js May 2026 security release

![Image 1 Jimmy Lai Head of Next.js](https://twitter.com/feedthejim)

2 min read

Copy URL

Copied to clipboard!

May 7, 2026

[Link to heading](http://vercel.com/changelog/next-js-may-2026-security-release#summary)Summary

We have shipped a coordinated security release for Next.js addressing 13 advisories across denial of service, middleware and proxy bypass, server-side request forgery, cache poisoning, and cross-site scripting. One advisory addresses an upstream React Server Components vulnerability tracked as CVE-2026-23870.

[Link to heading](http://vercel.com/changelog/next-js-may-2026-security-release#recommended-actions)Recommended actions

Patched versions are available for both React and Next.js, and all affected users should upgrade immediately.

[Link to heading](http://vercel.com/changelog/next-js-may-2026-security-release#impact)Impact

The release addresses the following advisories:

[Link to heading](http://vercel.com/changelog/next-js-may-2026-security-release#middleware-and-proxy-bypass)Middleware and proxy bypass

Affects applications that rely on middleware.js or proxy.js for authorization.

[Link to heading](http://vercel.com/changelog/next-js-may-2026-security-release#denial-of-service)**Denial of service**

Affects applications using Server Functions, Partial Prerendering with Cache Components, or the Image Optimization API.

[Link to heading](http://vercel.com/changelog/next-js-may-2026-security-release#server-side-request-forgery)**Server-side request forgery**

Affects applications that handle WebSocket upgrade requests.

[Link to heading](http://vercel.com/changelog/next-js-may-2026-security-release#cache-poisoning)**Cache poisoning**

Affects applications with caching layers in front of React Server Component responses.

[Link to heading](http://vercel.com/changelog/next-js-may-2026-security-release#cross-site-scripting)**Cross-site scripting**

Affects applications using CSP nonces in App Router, or beforeInteractive scripts that consume untrusted input.

[Link to heading](http://vercel.com/changelog/next-js-may-2026-security-release#resolution)Resolution

These vulnerabilities are addressed by the patched releases of React and Next.js. Patching is the only complete mitigation, and all affected users should upgrade immediately.

Vercel has not deployed new WAF rules for this release; these advisories cannot be reliably blocked at the WAF layer.

[Link to heading](http://vercel.com/changelog/next-js-may-2026-security-release#affected-versions)Affected versions

| Package | Affected | Upgrade to | | --- | --- | --- | | Next.js13.x, 14.x | all versions | 15.5.18 or 16.2.6 | | Next.js15.x | <=15.5.17 | 15.5.18 | | Next.js16.x | <=16.2.5 | 16.2.6 | | react-server-dom-*19.0.x | <=19.0.5 | 19.0.6 | | react-server-dom-*19.1.x | <=19.1.6 | 19.1.7 | | react-server-dom-*19.2.x | <=19.2.5 | 19.2.6 |

[Link to heading](http://vercel.com/changelog/next-js-may-2026-security-release#fixed-in)Fixed in

  • React: `19.0.6`, `19.1.7`, `19.2.6` for the react-server-dom-parcel, react-server-dom-webpack and react-server-dom-turbopack packages

Frameworks and bundlers using react-server-dom-* packages should install the latest versions provided by their respective maintainers.

[Link to heading](http://vercel.com/changelog/next-js-may-2026-security-release#references)References

Ready to deploy?Start building with a free account. Speak to an expert for your _Pro_ or Enterprise needs.

Start DeployingTalk to an Expert

Explore Vercel Enterprise with an interactive product tour, trial, or a personalized demo.

Explore Enterprise

Get Started

Build

Scale

Secure

Resources

Learn

Frameworks

SDKs

Use Cases

Company

Community

[](http://vercel.com/home)

Loading status…Select a display theme:system light dark

AI 可能会生成不准确的信息,请核实重要内容

Next.js 2026 年 5 月安全更新 | Vercel News | traeai