All vulnerabilities

Servers and applications

CVE-2026-27977

Origin: null can bypass allowedDevOrigins protections for internal dev endpoints

Severity
Medium 2.3
Published
16 Mar 2026
Last changed
23 Mar 2026
Added to UpHeron
3 Nov 2026
Fixed in
16.1.7
Exploit chance
0.2% in the next 30 daysHigher than 9% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
CWE-1385
Attack
Over the network · Only under certain conditions · No login needed · Needs someone to view a page or file
Attacker can
Read some data · Change some data
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Also known as
GHSA-jcc7-9wpm-mj36
Sources
Project advisories (GitHub)

Description

In next dev, cross-site protections for internal development endpoints could treat Origin: null as a bypass case even when allowedDevOrigins is configured. This could allow privacy-sensitive or opaque browser contexts, such as sandboxed documents, to access privileged internal dev-server functionality unexpectedly.

If a developer visits attacker-controlled content while running an affected next dev server with allowedDevOrigins configured, attacker-controlled browser code may be able to connect to internal development endpoints and interact with sensitive dev-server functionality that should have remained blocked.

This issue affects development mode only. It does not affect next start, and it does not expose internal debugging functionality to the network by default.

From vercel/next.js's security advisory.

Workarounds

If upgrade is not immediately possible:

  • Do not expose next dev to untrusted networks.
  • If you use allowedDevOrigins, reject requests and websocket upgrades with Origin: null for internal dev endpoints at your proxy.
Workarounds as given by vercel/next.js's security advisory.

Affected software

SoftwareAffected versions
Next.jsServers and applications · github:vercel/next.js
  • From 16.0.1 before 16.1.7

About Next.js

JavaScript framework to create web applications

From Wikidata, CC0 1.0.
Share of all websites
4.0%W3Techs, Nov 2026
Developers who used it in the past year
20.8%Stack Overflow Developer Survey 2025, 2025
Weekly downloads (npm)
93,677,602npm, 15 Nov 2026
GitHub stars
143,526GitHub, 15 Nov 2026
Forks
32,804GitHub, 15 Nov 2026
Latest release
v16.4.6GitHub, 15 Nov 2026
Released
9 Nov 2026GitHub
Developer
Vercel Inc.Wikidata
License
MIT LicenseWikidata
Written in
JavaScriptWikidata
First released
25 Oct 2016Wikidata
First published on GitHub
5 Oct 2016GitHub

Release lines

ReleaseLatestSecurity fixes
16 (LTS)LTS16.4.6Yes
15 (LTS)LTS15.5.29Until 31 Jan 2027
14 (LTS)LTS14.2.35Ended 26 Oct 2025
1313.5.11Ended 21 Dec 2024
1212.3.7Ended 21 Nov 2022
1111.1.4Ended 27 Jan 2022

From endoflife.date.

References