CVE-2026-64648: Next.js: Response Body Cache Confusion for Requests Containing Bodies

Published Jul 22, 2026
·
Updated

Impact

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. Safe: fetch(new Request(init), init) Unsafe: fetch(new Request(init), aDifferentInit)

Workarounds

No workaround exists besides upgrading. Applications using Pages Router are not vulnerable.

Other sources

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.

MITRE

Affected Software

4 affected componentsFixes available
npm/next>=16.0.0<16.2.11
16.2.11
npm/next>=13.0.0<15.5.21
15.5.21
Vercel Next.js Node.js>=12.0.0<15.5.21
Vercel Next.js Node.js>=16.0.0<16.2.11

Event History

Jul 22, 2026
Advisory Published
via GitHub·11:08 PM
Data Sourced
via GitHub·11:08 PM
DescriptionWeaknessAffected Software
Jul 27, 2026
CVE Published
via MITRE·07:20 PM
Data Sourced
via MITRE·07:20 PM
DescriptionWeakness
Data Sourced
via NVD·08:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-64648?

The severity of CVE-2026-64648 is rated as 55 on the CVSS scale, indicating a moderate risk level.

2

How do I fix CVE-2026-64648?

To mitigate CVE-2026-64648, ensure that your server-side `fetch` implementation correctly handles request bodies and responses to prevent unauthorized cache leaks.

3

What systems are affected by CVE-2026-64648?

CVE-2026-64648 affects applications built using next.js from the npm package.

4

What is the impact of CVE-2026-64648?

CVE-2026-64648 allows for the potential leakage of confidential data from `POST` request responses to unauthorized clients due to cached responses.

5

When was CVE-2026-64648 published?

CVE-2026-64648 was published on July 22, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203