CVE-2026-44578
Next.js vulnerable to server-side request forgery in applications using WebSocket upgrades
描述
### Impact 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. ### Fix We now apply the same safety checks to WebSocket upgrade handling that already existed for normal HTTP requests, so upgrade requests are only proxied when routing has explicitly marked them as safe external rewrites. ### Workarounds If you cannot upgrade immediately, do not expose the origin server directly to untrusted networks. If WebSocket upgrades are not required, block them at your reverse proxy or load balancer, and restrict origin egress to internal networks and metadata services where possible.
如何修補 CVE-2026-44578
要修補 CVE-2026-44578,請將受影響套件升級到下列已修補版本。
- —升級至 15.5.16 或更新版本
CVE-2026-44578 正在被利用嗎?
中等 — EPSS 為 38.7%,可持續追蹤但非最高優先。
受影響套件(1)
- >= 13.4.13, < 15.5.16
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |