Skip to content

Next.js

Next.js: Server-side request forgery in applications using WebSocket upgrades

CVE-2026-44578Published 13 May 2026, 17:01 UTC

Real-world risk

8.0/ 10High

Patch this week; within 48 h if Internet-facing

PreliminaryFrom the CVSS vector only · confidence low

CVSS

8.6

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from GitHub_M)

Next.js is a React framework for building full-stack web applications. From 13.4.13 to before 15.5.16 and 16.2.5, self-hosted applications using the built-in Node.js server can be vulnerable to server-side request forgery through crafted WebSocket upgrade requests. An attacker can cause the server to proxy requests to arbitrary internal or external destinations, which may expose internal services or cloud metadata endpoints. Vercel-hosted deployments are not affected. This vulnerability is fixed in 15.5.16 and 16.2.5.

Am I affected?

ProductAffected versions (from the sources)Fixed in
Next.jsUbiquitous>= 16.0.0, < 16.2.5; >= 13.4.13, < 15.5.1616.2.5, 15.5.16

What to do

Update to a fixed version: 16.2.5, 15.5.16.

Why this score

FactorValueEvidence×
ImpactMajor data exposureReads secrets, credentials, databases, arbitrary filesFrom the CVSS vector0.80
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T4: Weaponized (× 1.00)

A Metasploit module, a Nuclei template, or a verified Exploit-DB entry

  • Public proof of concept on GitHub
  • Public proof of concept on GitHub
  • Public proof of concept on GitHub
  • Public proof of concept on GitHub
  • Nuclei scanner template (link)

EPSS 35.5% chance of exploitation in 30 days (percentile 98), as of 2026-12-04.

The arithmetic
  1. Prerequisites multiplied together1.000
  2. Threat T4: Weaponized1.000
  3. 10 × impact 0.8 × prerequisites 1 × threat 18.000
  4. Rounded to one decimal between 0.1 and 108.0

How the score works

Exploitation and evidence timeline

  1. 13 May 2026 Published
  2. 3 Dec 2026 Public proof of concept on GitHub first seen
  3. 3 Dec 2026 Public proof of concept on GitHub first seen
  4. 3 Dec 2026 Public proof of concept on GitHub first seen
  5. 3 Dec 2026 Public proof of concept on GitHub first seen
  6. 3 Dec 2026 Nuclei scanner template first seen
  7. 3 Dec 2026 Risk 8.0 (cvss fallback)

Weakness

CWE-918

References

Get alerts for Next.js

Free email or text alerts when a vulnerability in Next.js reaches risk 8 or higher. Nothing else.