
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-64646 is a Denial of Service vulnerability in Next.js titled "Unbounded Server Action payload in Edge runtime." It affects Next.js applications using the App Router with at least one Server Action configured to use the Edge runtime, where request bodies are accepted without size limits, enabling excessive memory consumption. Affected versions are >= 13.0.0, < 15.5.21 and >= 16.0.0, < 16.2.11. The vulnerability was published on July 21–22, 2026, with patches released the same day. It carries a CVSS v4.0 base score of 6.3 (Medium) (GitHub Advisory).
The root cause is CWE-770 (Allocation of Resources Without Limits or Throttling): the Edge runtime code path in Next.js's action-handler.ts previously called req.request.formData() directly — bypassing any configured serverActions.bodySizeLimit — and similarly lacked size enforcement for non-multipart bodies. This allowed an unauthenticated attacker to send arbitrarily large POST request bodies to any Server Action endpoint running on the Edge runtime, causing the runtime to buffer the entire payload in memory. The fix enforces serverActions.bodySizeLimit (defaulting to 1 MB) by reading the body stream in chunks and throwing an HTTP 413 error if the limit is exceeded, for both multipart and non-multipart payloads (GitHub Advisory, 15.x Commit, 16.x Commit).
Successful exploitation causes excessive memory consumption in the Next.js Edge runtime, potentially rendering the application unresponsive or crashing it entirely — a Denial of Service condition. There is no impact to confidentiality or integrity; only availability of the vulnerable system is affected. Because the Edge runtime is typically used for latency-sensitive, globally distributed workloads, even brief disruptions can have broad user-facing consequences (GitHub Advisory).
x-powered-by: Next.js), or by probing endpoints for Server Action behavior (POST requests with Next-Action headers).Next-Action header.Next-Action header with oversized Content-Length values.Error: Body exceeded <limit> limit or HTTP 500/413 responses from Server Action endpoints on patched versions.Upgrade Next.js to version 15.5.21 (for the 15.x branch) or 16.2.11 (for the 16.x branch) to apply the fix, which enforces serverActions.bodySizeLimit in the Edge runtime (Next.js v15.5.21 Release, Next.js v16.2.11 Release). If an immediate upgrade is not possible, configure your hosting provider or reverse proxy (e.g., Nginx, Cloudflare, API gateway) to limit incoming request body sizes to a maximum of 5 MiB for all routes (GitHub Advisory). Additionally, you can configure serverActions.bodySizeLimit in next.config.js to enforce a custom limit at the application level once on a patched version.
The Next.js team published a July 2026 security release blog post covering this and several other vulnerabilities patched in the same release cycle (Next.js Blog). Netlify acknowledged the vulnerabilities and published a changelog entry noting the Next.js security fixes (Netlify Changelog). Cloudflare's WAF team also noted the release in their changelog, indicating infrastructure-level awareness of the issue (Cloudflare Changelog).
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."