Next.js: Response Body Cache Confusion for Requests Containing Bodies
CVE-2026-64648Published 27 Jul 2026, 19:20 UTC
Real-world risk
2.1/ 10Low
Routine
If the vulnerable configuration applies to you: 4.8
PreliminaryFrom the CVSS vector only · confidence low
CVSS
6.0
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 only applies to fetch calls with a request that has a different init than the one passed to fetch. A safe request would be: fetch(new Request(init), init). An unsafe request would be: fetch(new Request(init), aDifferentInit). 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 | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| 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 | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.4% chance of exploitation in 30 days (percentile 33), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together0.315
- Threat T1: Nothing known0.850
- 10 × impact 0.8 × prerequisites 0.315 × threat 0.852.142
- Rounded to one decimal between 0.1 and 102.1
Exploitation and evidence timeline
- 27 Jul 2026 Published
- 3 Dec 2026 Risk 2.1 (cvss fallback)
Weakness
CWE-524
References
- https://github.com/vercel/next.js/security/advisories/GHSA-68g3-v927-f742vendor-advisory
- https://github.com/vercel/next.js/commit/062f66700b52a5d6bba2c0605d55577ab7ad262cmisc
- https://github.com/vercel/next.js/commit/73b94872bc343d09494b50394d8c08eb9fc8e56amisc
- https://github.com/vercel/next.js/releases/tag/v15.5.21misc
- https://github.com/vercel/next.js/releases/tag/v16.2.11misc
- CVE-2026-64648 on CVE.org