Skip to main content

Next.js EUVDEUVD-2026-49401

| CVE-2026-64646 MEDIUM
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-07-22 https://github.com/vercel/next.js GHSA-4c39-4ccg-62r3
6.3
CVSS 4.0 · Vendor: https://github.com/vercel/next.js
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify App Router endpoint with Edge-runtime Server Action
  2. Delivery
    Send HTTP POST with oversized body
  3. Exploit
    Edge handler buffers entire body via formData() with no limit
  4. Execution
    Server process memory exhausted
  5. Impact
    Application 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

next.js 16.0.0, < 16.2.11
next.js 13.0.0 < 15.5.21

Affected Packages

npm next fix: 15.5.21, 16.2.11
euvd next_js fix: 15.5.21, 16.2.11

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

Vendor (https://github.com/vercel/next.js) PRIMARY 6.3 MEDIUM
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
vuln.today AI 7.5 HIGH

Network-reachable, no authentication or user interaction needed; impact is availability-only via memory exhaustion; scope unchanged.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 7.5 HIGH

Primary rating from Vendor (https://github.com/vercel/next.js).

CVSS VectorVendor: https://github.com/vercel/next.js

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
Jul 27, 2026 - 19:22 NVD
6.3 (MEDIUM)
CVE Published
Jul 22, 2026 - 23:02 cve.org
MEDIUM

DescriptionCVE.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
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 16 npm packages depend on next (15 direct, 1 indirect)

Ecosystem-wide dependent count for version 13.0.0.

Threat Intelligence Overview

EPSS Score
0.5%
Top 58% exploitable
Prevalence
High
dominant React meta-framework, widely deployed across enterprise and SaaS
Threat Intel
1
1 source
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

33
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy