Cyber Resilience

CVE-2026-27977

Vercel Next.Js 16.0.1 – 16.1.7

Published
18 March 2026
Modified
18 March 2026
Patch / advisory
CVSS Score v4 2.3
Click a component to see what it means
Raw vectorCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0017 7th percentile
Risk Priority 15 floored blend · peak EPSS

Summary

CVE-2026-27977 is a low-severity Missing Origin Validation in WebSockets (CWE-1385) vulnerability in Vercel Next.Js. Its CVSS base score is 2.3 (Low).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 7th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and SC-7 (Boundary Protection) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

Next.js is a React framework for building full-stack web applications. Starting in version 16.0.1 and prior to version 16.1.7, in `next dev`, cross-site protection for internal websocket endpoints could treat `Origin: null` as a bypass case even if `allowedDevOrigins` is…

more

configured, allowing privacy-sensitive/opaque contexts (for example sandboxed documents) to connect unexpectedly. If a dev server is reachable from attacker-controlled content, an attacker may be able to connect to the HMR websocket channel and interact with dev websocket traffic. This affects development mode only. Apps without a configured `allowedDevOrigins` still allow connections from any origin. The issue is fixed in version 16.1.7 by validating `Origin: null` through the same cross-site origin-allowance checks used for other origins. If upgrading is not immediately possible, do not expose `next dev` to untrusted networks and/or block websocket upgrades to `/_next/webpack-hmr` when `Origin` is `null` at the proxy.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
Why these techniques?

Vulnerability enables unauthorized websocket connections to a publicly reachable dev server via origin validation bypass, directly facilitating exploitation of a public-facing web application.

Confidence: MEDIUM · MITRE ATT&CK Enterprise v19.0

CVEs Like This One

CVE-2026-44575Same product: Vercel Next.Js
CVE-2026-44582Same product: Vercel Next.Js
CVE-2026-44581Same product: Vercel Next.Js
CVE-2026-44578Same product: Vercel Next.Js
CVE-2026-44576Same product: Vercel Next.Js
CVE-2026-44580Same product: Vercel Next.Js
CVE-2026-27978Same product: Vercel Next.Js
CVE-2026-44572Same product: Vercel Next.Js
CVE-2026-44574Same product: Vercel Next.Js
CVE-2026-44573Same product: Vercel Next.Js

Affected Assets

vercel
next.js
16.0.1 — 16.1.7

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)
  • AC-3 Access Enforcement
  • SC-7 Boundary Protection
  • SI-10 Information Input Validation
Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V4.4.2

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly enforces origin-based access decisions on the HMR websocket endpoint, rejecting unauthorized Origin values including null.

prevent

Boundary protection at a proxy or WAF can explicitly drop websocket upgrades to /_next/webpack-hmr when Origin is null or unallowed.

prevent

Requires validation of the Origin header value against the allowedDevOrigins policy before permitting the connection.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 full match
prevents

Secure SDLC practices directly require origin validation for WebSocket endpoints.

PR.AA-03 mostly match
prevents

Origin validation is a required step when authenticating WebSocket connection requests.

PR.AA-05 partial match
prevents

Enforcing authorization policy on incoming connections can require origin checks.

PR.IR-01 partial match
prevents

Network-level controls that block unauthorized logical access can mitigate missing origin checks.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

detects

Security testing can detect missing origin validation in WebSocket implementations.

degrades

Network security controls can enforce origin validation and restrict WebSocket connections to trusted sources.

degrades

Secure configuration of network services can include origin checks for WebSocket endpoints.

prevents

Application security requirements can mandate origin validation for WebSocket communications.

prevents

Secure architecture principles can require proper origin validation mechanisms in WebSocket implementations.

prevents

Secure coding standards can explicitly require origin validation for WebSocket connections.

References