
CVE-2026-44578
CVE-2026-44578 is a high-severity Server-Side Request Forgery (SSRF) vulnerability affecting self-hosted Next.js applications.
Attackers can exploit crafted WebSocket Upgrade Requests to force the server into making outbound requests to internal or external systems.
This vulnerability may allow attackers to access:
| Target | Risk |
|---|---|
| 🔐 Internal APIs | Unauthorized internal access |
| ☁️ Cloud Metadata Endpoints | Credential exposure |
| 🖥 Administrative Interfaces | Privilege escalation |
| 🌐 Network Resources | Internal reconnaissance |
Attacker
│
▼
Crafted WebSocket Upgrade Request
│
▼
Next.js Server
│
├──► Internal APIs
├──► Cloud Metadata Services
├──► Admin Interfaces
└──► Other Internal Resources
| Status | Versions |
|---|---|
| ❌ Vulnerable | 13.4.13 → < 15.5.16 |
| ❌ Vulnerable | 16.x → < 16.2.5 |
| ✅ Fixed | 15.5.16+ |
| ✅ Fixed | 16.2.5+ |
169.254.169.254)next start directlyGET ws://169.254.169.254/ HTTP/1.1
Host: 169.254.169.254
Upgrade: websocket
Connection: Upgrade
grep -i "upgrade: websocket" access.log
grep "169.254.169.254" access.log
Monitor for:
if ($http_upgrade = "websocket") {
return 403;
}
| Resource | Link |
|---|---|
| NVD | https://nvd.nist.gov/vuln/detail/CVE-2026-44578 |
| GitHub Advisories | https://github.com/vercel/next.js/security/advisories |
| Next.js |
| https://nextjs.org |