Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-64645— Next.js: Server-Side Request Forgery in rewrites via attacker-controlled destination hostname

Quick assessment

Affected
vercel next.js
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Vercel Next.js是Vercel公司开源的一个 React 框架。 Vercel next.js 12.0.0版本至15.5.20版本和16.0.0版本至16.2.10版本存在安全漏洞,该漏洞源于rewrites()或redirects()规则从请求控制的输入中构建外部目标主机名,导致可指向任意主机名,从而造成服务端请求伪造和开放重定向。

CVSS 8.3 · High EPSS 0.41% · P33

Affected Version Matrix 2

VendorProduct Version RangeStatus
vercel next.js >= 12.0.0 < 15.5.21 affected
>= 16.0.0, < 16.2.11 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-64645

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Next.js: Server-Side Request Forgery in rewrites via attacker-controlled destination hostname
Source: CVE Program / CVE List V5
Vulnerability Description
Next.js is a React framework for building full-stack web applications. In versions 12.0.0 through 15.5.20 and 16.0.0 through 16.2.10, a rewrites() or redirects() rule that builds its external destination hostname from request-controlled input can be pointed at an arbitrary hostname, regardless of the rule's hostname suffix. For a rewrite, Next.js proxies the request to that arbitrary host and serves the response from the application's origin, leading to Server-Side Request forgery. A redirects() rule configured this way is vulnerable to an Open Redirect. This issue has been fixed in versions 15.5.21 and 16.2.11.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:L/SI:L/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
服务端请求伪造(SSRF)
Source: CVE Program / CVE List V5
Vulnerability Title
Vercel next.js 输入验证错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Vercel Next.js是Vercel公司开源的一个 React 框架。 Vercel next.js 12.0.0版本至15.5.20版本和16.0.0版本至16.2.10版本存在安全漏洞,该漏洞源于rewrites()或redirects()规则从请求控制的输入中构建外部目标主机名,导致可指向任意主机名,从而造成服务端请求伪造和开放重定向。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
vercel next.js >= 12.0.0 < 15.5.21 -

II. Public POCs for CVE-2026-64645

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-64645

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-64645 (3)

Vendor Advisories for CVE-2026-64645 (1)

Vendor Pages for CVE-2026-64645 (1)

Same Patch Batch · vercel · 2026-07-27 · 9 CVEs total

CVE-2026-64642 8.3 HIGH Next.js: Middleware / Proxy bypass in App Router applications using Turbopack and single l
CVE-2026-64649 8.3 HIGH Next.js: Server-Side Request Forgery in Server Actions on Custom Servers
CVE-2026-64641 8.2 HIGH Next.js: Denial of Service in App Router using Server Actions
CVE-2026-64643 6.3 MEDIUM Next.js: Unauthenticated Disclosure of Internal Server Function endpoints
CVE-2026-64644 6.3 MEDIUM Next.js: Denial of Service in the Image Optimization API using SVGs
CVE-2026-64646 6.3 MEDIUM Next.js: Unbounded Server Action payload in Edge runtime
CVE-2026-64647 6.3 MEDIUM Next.js: Response Body Cache Confusion with Invalid UTF-8 Request Bodies
CVE-2026-64648 6.0 MEDIUM Next.js: Response Body Cache Confusion for Requests Containing Bodies

IV. Related Vulnerabilities

V. Comments for CVE-2026-64645

No comments yet


Leave a comment