Next.js: Response Body Cache Confusion with Invalid UTF-8 Request Bodies
CVE-2026-64647Published 27 Jul 2026, 19:11 UTC
Real-world risk
0.5/ 10Low
Routine
If the vulnerable configuration applies to you: 1.1
PreliminaryFrom the CVSS vector only · confidence low
CVSS
6.3
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
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 server-side fetch with a request body may return a cached response body from a different request to the same URL but different body. Confidential data in the POST's response body would then leak to unauthorized requests. Though the request itself will not be deduped. This is only an issue when receiving request bodies with a content type charset other than UTF-8. For example, the UTF-16 byte sequences for 삃삃 and 섄섄 in the request body would share the same cache. This issue has been fixed in versions 15.5.21 and 16.2.11.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Next.jsUbiquitous | >= 13.0.0, < 15.5.21; >= 16.0.0, < 16.2.11 | 15.5.21, 16.2.11 |
What to do
Update to a fixed version: 15.5.21, 16.2.11.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.4% chance of exploitation in 30 days (percentile 35), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together0.203
- Threat T1: Nothing known0.850
- 10 × impact 0.3 × prerequisites 0.2025 × threat 0.850.516
- Rounded to one decimal between 0.1 and 100.5
Exploitation and evidence timeline
- 27 Jul 2026 Published
- 3 Dec 2026 Risk 0.5 (cvss fallback)
Weakness
CWE-116
References
- https://github.com/vercel/next.js/security/advisories/GHSA-4633-3j49-mh5qvendor-advisory
- https://github.com/vercel/next.js/pull/96008misc
- https://github.com/vercel/next.js/commit/025bf4a5f7b47fb7758c4ebf1c931a61c451c082misc
- https://github.com/vercel/next.js/releases/tag/v15.5.21misc
- https://github.com/vercel/next.js/releases/tag/v16.2.11misc
- CVE-2026-64647 on CVE.org