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…
EPSS 0.4%top 72%

CVE-2026-64647: CWE-116: Improper Encoding or Escaping of Output in vercel next.js

0
Medium
Published: 07/27/2026 (07/27/2026, 19:11:28 UTC)
Source: GCVE Database
Vendor/Project: vercel
Product: next.js

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 v4.0

Score 6.3medium

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/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/30/2026, 15:27:27 UTC

Technical Analysis

CVE-2026-64647 affects the Next.js React framework in versions >=13.0.0 <15.5.21 and >=16.0.0 <16.2.11. When a server-side fetch is performed with a request body containing a charset other than UTF-8, the caching mechanism may incorrectly serve a cached response body from a different request to the same URL but with a different request body. This causes confidential data leakage in POST response bodies. The request itself is not deduplicated, but the response cache key does not account properly for the charset encoding, leading to cache collisions. The vulnerability is classified under CWE-116 (Improper Encoding or Escaping of Output).

Potential Impact

Confidential data from POST response bodies may be leaked to unauthorized requests due to improper caching behavior when request bodies use non-UTF-8 charsets. This can expose sensitive information to unintended recipients. The vulnerability has a CVSS 4.0 score of 6.3 (medium severity), indicating a moderate risk with network attack vector, high attack complexity, and partial impact on confidentiality and integrity.

Mitigation Recommendations

Upgrade Next.js to version 15.5.21 or later if using the 13.x to 15.x series, or to version 16.2.11 or later if using the 16.x series. These versions contain the official fix for this caching issue. No other mitigations are indicated by the vendor advisory.

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-4633-3j49-mh5q
Osv Schema Version
1.4.0
Aliases
["CVE-2026-64647"]
Ecosystems
["npm"]
Database Specific Severity
MODERATE
Cvss Version
4.0

Threat ID: 6a616bcd9c2644c7f80dbd91

Added to database: 07/23/2026, 01:18:05 UTC

Last enriched: 07/30/2026, 15:27:27 UTC

Last updated: 09/05/2026, 10:52:11 UTC

Views: 121

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