FixVibe

high

Next.js WebSocket SSRF Vulnerability (CVE-2026-44578)

CVE-2026-44578 is a high-severity server-side request forgery vulnerability affecting self-hosted applications that use the built-in Next.js server. Vercel-hosted deployments are not affected. FixVibe authorized GitHub repository scans flag affected Next.js versions.

CVE-2026-44578GHSA-c4j6-fc7j-m34rGHSA-c4j6-fc7j-m34rCWE-918

Impact

Self-hosted applications using the built-in Next.js Node.js server may proxy requests to unintended internal or external destinations when handling crafted WebSocket upgrade requests under the advisory conditions. [S1][S2] Practical risk depends on the deployed server mode, routing configuration, origin exposure, outbound network policy, and destination reachability. [S1] Vercel-hosted deployments are not affected. [S1]

Root cause

The vulnerable upgrade path could proxy a request before the routing decision was confirmed as safe. [S1] The patched releases add safety checks so this proxying only occurs for routing that explicitly permits a safe external rewrite. [S1]

Affected versions

The reviewed advisory lists these affected npm release ranges: [S1][S2][S3]

  • next >=13.4.13 <15.5.16 [S1][S2][S3]
  • next >=16.0.0 <16.2.5 [S1][S2][S3]

Patched releases:

  • 15.5.16 [S1][S5]
  • 16.2.5 [S1][S6]

Remediation

Upgrade the active release line:

  • Next.js 15.5.16 or newer on the 13.x-15.x line [S1][S5]
  • Next.js 16.2.5 or newer on the 16.x line [S1][S6]

If an immediate upgrade is not possible, do not expose the origin to untrusted networks, block upgrades when they are not required, and restrict origin egress and access to internal destinations. [S1]

Covered by FixVibe

FixVibe's authorized GitHub repository scans flag Next.js versions affected by this advisory, so self-hosted apps can upgrade. Vercel-hosted deployments are outside the affected condition in the upstream advisory. [S1]