Skip to main content

Next.js CVE-2026-44579

HIGH
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-05-11 https://github.com/vercel/next.js GHSA-mg66-mrh9-m8jx
7.5
CVSS 3.1 · Vendor: https://github.com/vercel/next.js
View

Attack ChainAIDerived

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

  1. Recon
    Identify Next.js app with Partial Prerendering
  2. Delivery
    Craft POST request with 'Next-Resume' header
  3. Exploit
    Send to server action endpoint
  4. Install
    Trigger request-body deadlock
  5. C2
    Hold connection open
  6. Execute
    Exhaust file descriptors
  7. Impact
    Deny service to legitimate 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

Remote unauthenticated exploitation against Next.js applications specifically configured with the Partial Prerendering feature using Cache Components. Default Next.js installations without explicit enablement of the experimental Partial Prerendering feature are NOT vulnerable - this limits the attack surface to early adopters of Next.js 15.x/16.x features. Attack requires network access to server action endpoints (typically exposed at /_next/data/ or /api/ routes depending on configuration) and the ability to send POST requests with custom HTTP headers, which is trivially achievable from any internet-connected system. No authentication, valid session, or user interaction is required (CVSS PR:N/UI:N). The vulnerability is triggered exclusively when the 'Next-Resume' header is present in requests from external clients - absence of proper header validation is the root cause. Exploitation effectiveness depends on server's file descriptor limits and connection timeout settings but works against default configurations.

Impact

Real-world risk is HIGH for affected configurations despite no confirmed active exploitation. CVSS 7.5 (High) accurately reflects the attack characteristics: network-accessible (AV:N), low complexity (AC:L), no authentication required (PR:N), no user interaction needed (UI:N), and high availability impact (A:H). The vulnerability enables trivial weaponization - attackers need only identify Next.js applications using Partial Prerendering (detectable via response headers or timing analysis) and send HTTP POST requests with a single injected header. No exploit code sophistication is required, making this highly automatable for botnet-driven attacks. EPSS data is not provided but would likely be moderate-to-high given the low technical barriers. The scope is limited (S:U) to applications specifically using the experimental Partial Prerendering feature with Cache Components, not all Next.js deployments, which significantly reduces the attack surface. However, for affected applications, the denial-of-service impact is severe and immediate - a small number of malicious connections can exhaust server capacity within seconds to minutes depending on file descriptor limits. The availability of vendor patches in two actively maintained version branches (15.x and 16.x) and a simple workaround (header filtering at edge) make this remediable, but unpatched systems face clear and present risk of service disruption.

Exploit ScenarioDerived

An attacker identifies a Next.js application using Partial Prerendering by analyzing HTTP response headers or timing patterns indicating cache-component behavior. The attacker crafts POST requests to known or discovered server action endpoints, injecting the 'Next-Resume' header to mimic internal framework communication. Each malicious request triggers the request-body parsing deadlock, leaving the connection open indefinitely and consuming one file descriptor. The attacker uses a simple script or botnet to send hundreds or thousands of these crafted requests within seconds, rapidly exhausting the server's file descriptor limit (often 1024-65536 depending on OS configuration) and connection pool capacity. Within minutes, the server can no longer accept new connections from legitimate users, resulting in complete denial of service that persists until connections time out (potentially hours without proper timeout configuration) or the service is restarted.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – May 11, 2026

Connection exhaustion denial of service affects Next.js applications using the Partial Prerendering feature with Cache Components. Remote unauthenticated attackers can send crafted POST requests containing the internal-only 'Next-Resume' header to server actions, triggering a request-body handling deadlock that holds connections open indefinitely, consuming file descriptors and server capacity until legitimate users cannot connect. Vendor-released patches are available in Next.js v15.5.16 and v16.2.5, which strip the internal header from untrusted external requests.

RemediationAI

Upgrade Next.js to version 15.5.16 (for 15.x branch) or 16.2.5 (for 16.x branch), which implement automatic stripping of the 'Next-Resume' header from untrusted incoming requests, preventing external clients from triggering the deadlock condition. Download releases from https://github.com/vercel/next.js/releases/tag/v15.5.16 or https://github.com/vercel/next.js/releases/tag/v16.2.5. For environments where immediate upgrading is not feasible, implement edge-layer filtering to block any HTTP requests containing the 'Next-Resume' header before they reach the Next.js application - configure reverse proxies (nginx, Apache), CDNs (Cloudflare, Fastly), or API gateways to reject or strip this header from client requests. This workaround trades potential false positives (blocking legitimate internal framework operations if misconfigured) for immediate protection but requires careful testing to ensure the header filtering rule applies only to external traffic, not internal service-to-service communication within trusted network boundaries. Organizations using Partial Prerendering in production should also implement connection limits and timeouts at the load balancer or reverse proxy level to mitigate resource exhaustion attacks more broadly.

Affected Packages

npm next fix: 15.5.16, 16.2.5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Next.js Partial Prerendering (PPR) is an experimental rendering optimization that allows static shell content to be served immediately while dynamic components stream in later. The Cache Components feature uses an internal 'Next-Resume' header to coordinate resumption of partially prerendered requests between the Next.js framework and its runtime. The vulnerability stems from improper resource management (CWE-770: Allocation of Resources Without Limits or Throttling) when external clients can inject this internal-only header. When a malicious POST request to a server action includes the 'Next-Resume' header, the framework's request-body parsing logic enters a deadlock state, preventing the connection from closing. Each hanging connection consumes a file descriptor and holds server resources (memory, thread/event loop capacity) until system limits are reached, creating a resource exhaustion condition. This is a protocol-level design flaw where internal implementation details were inadvertently exposed to untrusted clients without proper validation.

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 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

DescriptionCVE.org

Impact

Applications using Partial Prerendering through the Cache Components feature can be vulnerable to connection exhaustion through crafted POST requests to a server action. In affected configurations, a malicious request can trigger a request-body handling deadlock that leaves connections open for an extended period, consuming file descriptors and server capacity until legitimate users are denied service.

Fix

We now treat the header used for resuming Partial Prerendered requests as an internal-only header and strip it from untrusted incoming requests. This header should never be accepted directly from external clients.

Workarounds

If you cannot upgrade immediately, block requests that would be handled by Next.js if they contain the Next-Resume header at the edge.

Executive ViewAI

Why It Matters

Next.js applications using Partial Prerendering with Cache Components are vulnerable to connection exhaustion attacks, where unauthenticated remote attackers can exhaust server resources by sending specially crafted requests, rendering applications unavailable to legitimate users. Organizations running affected Next.js versions must upgrade immediately to restore service availability and prevent operational disruption.

Business Impact: High
Compensating Controls

Vendor-released patch: Next.js v15.5.16 and v16.2.5. If immediate upgrade is not feasible, implement rate limiting and request filtering at load balancer or WAF layer to block POST requests containing the 'Next-Resume' header from external sources; monitor file descriptor exhaustion and connection pool saturation as early warning indicators.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
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.

Affected Products (CPE)CVE.org

pkg:npm/next
pkg:npm/next

Vendor StatusVendor

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