Skip to main content

Next.js EUVDEUVD-2026-91673

| CVE-2026-94485 MEDIUM
Origin Validation Error (CWE-346)
2026-10-02 GitHub_M GHSA-f87g-xv8r-7p7x
6.3
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Developer runs `next dev` (16.0.0-16.3.7)
  2. Delivery
    Developer visits attacker-controlled website
  3. Exploit
    Site issues cross-site request to /_next/mcp endpoint
  4. Execution
    Origin validation bypassed
  5. Impact
    Exfiltrate disk path, source snippets, routes, and dev logs

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Origin validation
Exploitation Conditions

Requires the victim to be actively running the next dev development server of Next.js 16.0.0 through 16.3.7, AND to visit an attacker-controlled (or compromised) website in a browser that can reach the local dev server, which exposes the Model Context Protocol endpoint at /_next/mcp without reliably restricting cross-site requests (CWE-346). Limiting factors that reduce real-world risk: the endpoint is served ONLY in development mode - 'Production deployments do not serve this endpoint' - so production systems are unaffected; exploitation needs an active dev session plus the developer navigating to malicious content (the AT:P / user-navigation prerequisite); and impact is confined to information disclosure (disk location, source snippets, route inventory, dev logs) with no code execution, write, or availability impact.

Impact

The vendor-assigned CVSS 4.0 score is 6.3 (Medium), with vector AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N - network-reachable, no privileges, but with a Present attack requirement (AT:P) reflecting that exploitation depends on conditions outside the attacker's control (a developer actively running next dev and visiting a malicious site). Impact is limited to low confidentiality (VC:L) with no integrity or availability effect, consistent with CWE-346 (Origin Validation Error) and the information-disclosure nature of the flaw. No EPSS score, CISA KEV listing, or POC was provided in the input: exploitation status is therefore 'no public exploit identified at time of analysis', and there is no evidence of active exploitation. The practical risk is tempered because the MCP endpoint is only served by the development server and 'Production deployments do not serve this endpoint' - so internet-facing production systems are not exposed; the realistic threat surface is developer workstations. This is a genuine but bounded developer-security concern rather than a mass-exploitable critical issue: it should be patched promptly on development machines but does not carry the same urgency as a remotely exploitable production RCE. Note that EPSS/KEV/POC signals are absent (not confirmed negative), so widespread-exploitation probability cannot be quantified from the data given.

Exploit ScenarioDerived

A developer is running a Next.js app locally with next dev (version 16.0.0-16.3.7) and, in the same browser, visits a malicious or compromised website. That site issues cross-site requests to the local dev server's /_next/mcp Model Context Protocol endpoint, which fails to reliably validate request origin, and reads back the project's disk path, source-code snippets from error reports, the route inventory, and development logs. No public exploit code is identified at the time of analysis, and exploitation requires the developer to be running the dev server and to visit attacker-controlled content.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 02, 2026

The next dev development server in Next.js 16.0.0 through 16.3.7 improperly restricts cross-site requests to its Model Context Protocol (MCP) endpoint at /_next/mcp, allowing a malicious website visited by a developer to read sensitive local project data including disk paths, source code snippets from error reports, route inventories, and development logs. The vulnerability is limited to development environments - production deployments do not serve this endpoint - and exploitation requires an active next dev session plus the developer navigating to attacker-controlled content (CVSS 4.0 AT:P prerequisite). Unauthenticated (PR:N) but requiring user interaction; no public exploit identified at time of analysis. CVSS 4.0 base score 6.3 (Medium), fixed in Next.js 16.3.8.

RemediationAI

Upgrade Next.js to version 16.3.8, which contains the vendor patch (commit 2d9f50a409312696145b82b3157aadb6b1fef476) that replaces imprecise URL string matching with proper pathname parsing and exact matching for the /_next/mcp endpoint. See the GitHub Security Advisory GHSA-f87g-xv8r-7p7x and release notes for v16.3.8. Until upgrading, avoid running next dev while browsing untrusted websites in the same browser session, or use a dedicated browser profile for development; alternatively, bind the dev server to 127.0.0.1 (if not already) and consider blocking cross-origin requests to /_next/mcp at the OS firewall level, though this may interfere with legitimate MCP tooling. Because the endpoint is dev-only, production systems require no action.

Affected VersionsENISA

next.js 16.0.0, < 16.3.8

Affected Packages

npm next fix: 16.3.8
euvd next_js_16_0_0 fix: 16.3.8

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CWE-346 (Origin Validation Error) in the Next.js development server's handling of cross-site requests to its Model Context Protocol (MCP) endpoint. MCP is a protocol used by AI coding assistants and developer tools to interact with the dev server; the endpoint lives at /_next/mcp. Prior to the fix, the server's cross-site request blocking logic and the MCP middleware path check both relied on imprecise string matching (req.url.includes('/_next') and pathname.startsWith('/_next/mcp')) on the raw request URL, making it possible for a malicious page to craft requests that evade the origin restrictions and reach the endpoint. The patch (commit 2d9f50a409312696145b82b3157aadb6b1fef476) replaces these with proper pathname extraction via parsePath and exact matching (removeTrailingSlash(pathname) !== '/_next/mcp'). The CPE string cpe:2.3:a:vercel:next.js:*:*:*:*:*:*:*:* identifies the affected product family. Production deployments are not impacted because they do not expose the MCP endpoint.

Know when Next Js gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 6.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 4.3 MEDIUM

AV:N and PR:N since any origin can reach the dev endpoint unauthenticated; UI:R because the developer must visit the malicious site; C:L for limited source/path/log disclosure, I/A:N.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Red Hat 4.3 MEDIUM

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Oct 02, 2026 - 16:02 EUVD
CVE Published
Oct 02, 2026 - 15:23 cve.org
MEDIUM 6.3

DescriptionCVE.org

Next.js is a React framework for building full-stack web applications. From 16.0.0 until 16.3.8, the next dev development server exposes a Model Context Protocol endpoint without reliably restricting cross-site requests. A malicious website visited by a developer can reach the endpoint and read the project's disk location, source code snippets from error reports, route inventory, and development logs. Production deployments do not serve this endpoint. This issue is fixed in version 16.3.8.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 27 npm packages depend on next (25 direct, 2 indirect)

Ecosystem-wide dependent count for version 16.0.0.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
High
Next.js is one of the most widely deployed React frameworks
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD 🇯🇵JVN NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2025-55182 CRITICAL POC
10.0 Dec 03

React Server Components in React 19.x contain a critical pre-authentication remote code execution vulnerability (CVE-202

CVE-2017-16877 HIGH POC
7.5 Nov 17

ZEIT Next.js before 2.4.1 has directory traversal under the /_next and /static request namespace, allowing attackers to

CVE-2025-55184 HIGH POC
7.5 Dec 11

Pre-authentication denial of service in React Server Components (versions 19.0.0 through 19.2.1) allows unauthenticated

CVE-2025-55183 MEDIUM POC
5.3 Dec 11

Information disclosure in React Server Components 19.x, distributed as react-server-dom-webpack, react-server-dom-turbop

CVE-2026-75604 CRITICAL POC
9.0 Sep 01

Path traversal in Next.js (13.4.0 through 15.5.23 and 16.x before 16.3.3) running on Windows-hosted servers lets a remot

CVE-2025-57822 HIGH POC
8.2 Aug 29

Server-side request forgery in Vercel Next.js affects self-hosted deployments whose custom middleware calls next()/NextR

CVE-2024-34351 HIGH POC
7.5 May 14

Next.js is a React framework that can provide building blocks to create web applications. Rated high severity (CVSS 7.5)

CVE-2023-46298 HIGH POC
7.5 Oct 22

Next.js before 13.4.20-canary.13 lacks a cache-control header and thus empty prefetch responses may sometimes be cached

CVE-2018-6184 HIGH POC
7.5 Jan 24

ZEIT Next.js 4 before 4.2.3 has Directory Traversal under the /_next request namespace. Rated high severity (CVSS 7.5),

CVE-2025-67779 HIGH
7.5 Dec 12

Unsafe deserialization in React Server Components Server Function endpoints allows remote unauthenticated attackers to t

CVE-2026-94483 HIGH
8.3 Oct 02

Server-side request forgery in the Next.js Image Optimization endpoint lets a remote, unauthenticated attacker cause the

CVE-2020-5284 MEDIUM POC
4.3 Mar 30

Next.js versions before 9.3.2 have a directory traversal vulnerability. Rated medium severity (CVSS 4.3), this vulnerabi

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy