
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-64647 is a cache confusion vulnerability in Next.js (App Router) where server-side fetch operations with non-UTF-8 charset request bodies generate incorrect cache keys, potentially returning cached response bodies intended for different requests. Discovered by researcher "yorukot" and published on July 22, 2026, it affects Next.js versions 13.0.0 through 15.5.20 and 16.0.0 through 16.2.10. The vulnerability carries a CVSS v3.1 score of 5.4 (Medium) and a CVSS v4.0 score of 6.3 (Medium) (GitHub Advisory, Feedly). Applications using the Pages Router are not affected.
The root cause lies in Next.js's incremental cache key generation logic (CWE-116: Improper Encoding or Escaping of Output; CWE-524: Use of Cache Containing Sensitive Information). When computing the fetch cache key, the original code decoded binary request bodies using a UTF-8 TextDecoder, which collapses distinct byte sequences — such as different UTF-16 encoded strings — into the same decoded string, producing identical cache keys for requests with different bodies to the same URL. For example, the UTF-16 byte sequences for 삃삃 and 섄섄 would decode to the same UTF-8 representation, causing a cache collision. The fix (PR #96008) replaces the lossy UTF-8 decoding with byte-exact hex encoding (toHex()) of request bodies, ensuring each unique binary body produces a unique cache key (GitHub Advisory, Fix Commit).
A successful exploit allows an unauthenticated attacker to receive cached response bodies originally generated for a different user's POST request to the same URL, resulting in confidential data disclosure. The impact is primarily a confidentiality breach — sensitive data such as user-specific API responses, session data, or personal information could be leaked to unauthorized parties. Integrity is also marginally affected, as an attacker could receive and act upon data intended for another user. Availability is not impacted, and there is no direct path to code execution or lateral movement from this vulnerability alone (GitHub Advisory).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the time of publication (Feedly). The EPSS score is approximately 0.51%, indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires specific conditions: the target application must use Next.js App Router with server-side fetch caching enabled, and the attacker must be able to send requests with non-UTF-8 charset bodies (e.g., UTF-16) to the same endpoint as a legitimate user.
fetch() with a POST body and caches the response (i.e., the fetch is not opted out of caching).Content-Type headers specifying non-UTF-8 charsets (e.g., charset=UTF-16, charset=ISO-8859-1) from unexpected or anonymous clients.Upgrade Next.js to version 15.5.21 (for the 15.x branch) or 16.2.11 (for the 16.x branch), both released on July 21, 2026, which contain the byte-exact cache key fix (v15.5.21 Release, v16.2.11 Release). If immediate patching is not possible, restrict server-side fetch requests to UTF-8 encoded bodies only (the default in Next.js), or disable fetch caching for endpoints handling sensitive data. Applications using the Pages Router exclusively are not affected and do not require immediate action (GitHub Advisory).
The vulnerability was disclosed as part of a broader Next.js July 2026 security release that addressed nine security flaws, including higher-severity SSRF and DoS issues, which drew significant coverage from security news outlets (CyberSecurityNews, GBHackers). Netlify and Cloudflare both published changelog entries acknowledging the Next.js security vulnerabilities and their platform-level responses (Netlify). The Next.js team published an official security release blog post detailing all nine advisories (Next.js Blog). Community reaction was largely focused on the higher-severity issues in the same release batch, with CVE-2026-64647 receiving moderate attention given its Medium severity rating.
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."