Next.js: Cache confusion of response bodies for requests with bodies (CVE-2026-64648)
Next.js versions 13.0.0 up to but excluding 15.5.21, and 16.0.0 up to but excluding 16.2.11, have a vulnerability where server-side fetch requests with bodies can return cached response bodies from different requests to the same URL but with different bodies. This causes confidential data leakage in POST response bodies. The issue arises when fetch is called with a request and a different init object than the one used to create the request. Applications using the Pages Router are not affected. No workaround exists other than upgrading.
AI Analysis
Technical Summary
This vulnerability in Next.js involves cache confusion for server-side fetch calls that include request bodies. When a fetch call is made with a request body, the server may incorrectly return a cached response body from a previous request to the same URL but with a different request body, leading to potential leakage of confidential data in the response. The problem specifically occurs if the fetch call uses a different init object than the one used to create the Request object. The vulnerability affects Next.js versions >=13.0.0 <15.5.21 and >=16.0.0 <16.2.11. Applications using the Pages Router are not vulnerable. No workaround exists except upgrading to a fixed version.
Potential Impact
Confidential data in the response body of POST requests may be leaked to unauthorized requests due to cache confusion. This can expose sensitive information from one user's request to another user making a different request to the same URL. The request itself is not deduplicated, but the response body cache confusion causes the data leak. This impacts server-side fetch calls with request bodies in affected Next.js versions.
Mitigation Recommendations
Upgrade Next.js to a version later than 15.5.20 for the 13.x branch or later than 16.2.10 for the 16.x branch to resolve this vulnerability. No other workaround is available. Applications using the Pages Router are not vulnerable and do not require action.
Next.js: Cache confusion of response bodies for requests with bodies (CVE-2026-64648)
Description
Next.js versions 13.0.0 up to but excluding 15.5.21, and 16.0.0 up to but excluding 16.2.11, have a vulnerability where server-side fetch requests with bodies can return cached response bodies from different requests to the same URL but with different bodies. This causes confidential data leakage in POST response bodies. The issue arises when fetch is called with a request and a different init object than the one used to create the request. Applications using the Pages Router are not affected. No workaround exists other than upgrading.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in Next.js involves cache confusion for server-side fetch calls that include request bodies. When a fetch call is made with a request body, the server may incorrectly return a cached response body from a previous request to the same URL but with a different request body, leading to potential leakage of confidential data in the response. The problem specifically occurs if the fetch call uses a different init object than the one used to create the Request object. The vulnerability affects Next.js versions >=13.0.0 <15.5.21 and >=16.0.0 <16.2.11. Applications using the Pages Router are not vulnerable. No workaround exists except upgrading to a fixed version.
Potential Impact
Confidential data in the response body of POST requests may be leaked to unauthorized requests due to cache confusion. This can expose sensitive information from one user's request to another user making a different request to the same URL. The request itself is not deduplicated, but the response body cache confusion causes the data leak. This impacts server-side fetch calls with request bodies in affected Next.js versions.
Mitigation Recommendations
Upgrade Next.js to a version later than 15.5.20 for the 13.x branch or later than 16.2.10 for the 16.x branch to resolve this vulnerability. No other workaround is available. Applications using the Pages Router are not vulnerable and do not require action.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-68g3-v927-f742
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64648"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 4.0
Threat ID: 6a616bcd9c2644c7f80dbd89
Added to database: 07/23/2026, 01:18:05 UTC
Last enriched: 07/23/2026, 01:23:46 UTC
Last updated: 07/23/2026, 03:46:29 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.