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?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Next.jsUbiquitous | >= 16.0.0, < 16.2.5; >= 13.4.13, < 15.5.16 | 16.2.5, 15.5.16 |
What to do
Update to a fixed version: 16.2.5, 15.5.16.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.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
- Prerequisites multiplied together1.000
- Threat T4: Weaponized1.000
- 10 × impact 0.8 × prerequisites 1 × threat 18.000
- Rounded to one decimal between 0.1 and 108.0
Exploitation and evidence timeline
- 13 May 2026 Published
- 3 Dec 2026 Public proof of concept on GitHub first seen
- 3 Dec 2026 Public proof of concept on GitHub first seen
- 3 Dec 2026 Public proof of concept on GitHub first seen
- 3 Dec 2026 Public proof of concept on GitHub first seen
- 3 Dec 2026 Nuclei scanner template first seen
- 3 Dec 2026 Risk 8.0 (cvss fallback)
Weakness
CWE-918
References
- https://github.com/vercel/next.js/security/advisories/GHSA-c4j6-fc7j-m34rvendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-44578redhat, vdb-entry
- https://bugzilla.redhat.com/show_bug.cgi?id=2477187issue-tracking, redhat
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44578.jsonx-sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:40974redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:37272redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:34608redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:54435redhat, vendor-advisory
- CVE-2026-44578 on CVE.org