Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify App Router endpoint with Edge-runtime Server Action
-
DeliverySend HTTP POST with oversized body
-
ExploitEdge handler buffers entire body via formData() with no limit
-
ExecutionServer process memory exhausted
-
ImpactApplication crash or severe degradation for all users
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the target application to be running Next.js in App Router mode (not Pages Router) with at least one Server Action whose containing route segment explicitly configures the Edge runtime via 'export const runtime = "edge"'. This is a non-default configuration - the Node.js runtime is the default, and that path already enforced body size limits. The Server Action itself does not need to process large inputs intentionally; the vulnerability exists at the request handling layer before application logic executes. Limiting factors: the attacker must be able to reach the Server Action endpoint over the network (no authentication requirement inferred from the unauthenticated nature of HTTP POST), but the endpoint must exist and be reachable. Applications fully behind authenticated proxies or WAFs that enforce body size limits are protected by those controls. Self-hosted deployments without upstream body-size enforcement are fully exposed. |
| Impact | Real-world risk is moderate-to-high for affected deployments. No CVSS vector was published by the vendor or NVD, so severity metrics are analyst-assessed (see assessed_cvss_vector). No EPSS score is available. The vulnerability is not listed in CISA KEV, and no public exploit or POC has been identified. Despite the absence of active exploitation signals, the attack is inherently simple: send large POST bodies to any endpoint backed by an Edge-runtime Server Action. The lack of authentication or special privileges required (AV:N/AC:L/PR:N/UI:N) lowers the bar for abuse. The impact is confined to availability (A:H) - confidentiality and integrity are unaffected. Risk is bounded by two deployment factors: the application must use App Router (not Pages Router), and at least one Server Action must be explicitly configured for the Edge runtime, which is non-default. Organizations running Next.js on managed platforms (Vercel, Netlify) where the provider imposes request body limits at the infrastructure layer may have reduced exposure. Self-hosted deployments without external body-size enforcement are most at risk. |
| Exploit ScenarioDerived | An attacker identifies a publicly accessible Next.js application that uses App Router with a Server Action marked with Edge runtime (e.g., 'export const runtime = edge' on the containing route segment). The attacker sends a series of HTTP POST requests to the Server Action endpoint with multi-gigabyte or continuously streaming request bodies. Because the unpatched Edge runtime path buffers the entire body via formData() before applying any limit, each request causes the server process to allocate memory proportional to the payload size, ultimately exhausting available memory and crashing or severely degrading the application for all users. No public exploit code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 22, 2026
Unbounded Server Action payload processing in Next.js App Router exhausts server memory when the affected Server Action uses the Edge runtime, enabling remote denial of service without authentication. Any Next.js application on npm/next versions 13.0.0 through 15.5.20 or 16.0.0 through 16.2.10 that exposes at least one Server Action on the Edge runtime is vulnerable. An attacker can send arbitrarily large HTTP request bodies to trigger runaway memory allocation, potentially crashing the process or degrading service for all users. No public exploit has been identified at time of analysis, and CISA KEV listing is absent.
RemediationAI
The primary fix is to upgrade Next.js to version 15.5.21 (for the 13.x-15.x line) or 16.2.11 (for the 16.x line), available at https://github.com/vercel/next.js/releases/tag/v15.5.21 and https://github.com/vercel/next.js/releases/tag/v16.2.11 respectively. The patch (commits 57c31f724d and 9a4651e754) adds streaming chunk-by-chunk body reading with a 1 MB default limit for Edge-runtime Server Actions, throwing HTTP 413 when exceeded. If upgrading immediately is not possible, the vendor-recommended workaround is to configure the hosting provider or reverse proxy to enforce a maximum request body size of 5 MiB or less - this prevents unbounded memory allocation before the request reaches Next.js. Note that this workaround requires infrastructure-level control and does not apply if the hosting environment does not support body-size limits. After patching, the Next.js bodySizeLimit setting under serverActions in next.config.js can be used to tune the limit; the default of 1 MB is enforced automatically post-patch. No trade-offs to patching have been identified.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Next.js App Router introduced Server Actions (functions marked 'use server') as a mechanism to execute server-side logic directly from React components. The affected code path is in packages/next/src/server/app-render/action-handler.ts, which handles incoming POST requests destined for Server Actions. When a Server Action is configured with the Edge runtime (export const runtime = 'edge'), the action handler called req.request.formData() directly - a convenience API that buffers the entire request body into memory before parsing. A TODO comment in the original code ('// TODO: add body limit') confirms that body size enforcement was intentionally deferred and never implemented for the Edge runtime path. By contrast, the Node.js (non-Edge) runtime path already enforced the configurable bodySizeLimit (defaulting to 1 MB). CWE-770 (Allocation of Resources Without Limits or Throttling) precisely describes this class of flaw. Affected packages are identified as pkg:npm/next versions >= 13.0.0 and < 15.5.21, and >= 16.0.0 and < 16.2.11.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Network-reachable, no authentication or user interaction needed; impact is availability-only via memory exhaustion; scope unchanged.
Primary rating from Vendor (https://github.com/vercel/next.js).
CVSS VectorVendor: https://github.com/vercel/next.js
Lifecycle Timeline
2DescriptionCVE.org
Impact
Requests targeting Next.js applications using App Router with at least one Server Action can lead to excessive memory consumption if that Server Actions uses the Edge runtime
Workarounds
If you cannot upgrade, ensure your hosting provider limits the request's body size. 5 MiB should be allowed at max by your hosting provider.
Blast Radius
ecosystem impact- 16 npm packages depend on next (15 direct, 1 indirect)
Ecosystem-wide dependent count for version 13.0.0.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-49401
GHSA-4c39-4ccg-62r3
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB