CVE-2026-64647
Received
Received - Intake
Next.js Cache Poisoning via Charset Mismatch in POST Requests
Vulnerability report for CVE-2026-64647, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-07-27
Last updated on: 2026-07-27
Assigner: GitHub, Inc.
Description
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 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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| vercel | next.js | From 12.0.0 (inc) to 15.5.20 (inc) |
| vercel | next.js | From 16.0.0 (inc) to 16.2.10 (inc) |
| vercel | next.js | 15.5.21 |
| vercel | next.js | 16.2.11 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-116 | The product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved. |