Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Next.js: Cache confusion of response bodies for requests with bodies (CVE-2026-64648)

0
Medium
Published: 07/22/2026 (07/22/2026, 23:08:17 UTC)
Source: GCVE Database
Product: next

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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
High
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Affected software

npmghsa
next
Affected versions
>=13.0.0 <15.5.21
npmghsa
next
Affected versions
>=16.0.0 <16.2.11

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/23/2026, 01:23:46 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses