CVE Database›Document archive›CVE-2026-94485

CVE-2026-94485

next: Next.js: Information disclosure via unrestricted cross-site requests on development server

Loading…

Severity

Moderate

Red Hat Product Security

4.3

CVSS 3.1

Review impact separately from score.

Published · October 3, 2026

Updated · October 30, 2026

Description

A flaw was found in Next.js. During local development, the development server exposes a Model Context Protocol (MCP) endpoint without properly restricting cross-site requests. If a developer visits a malicious website while running the development server, an attacker can issue unauthorized requests to access sensitive project information, including file paths, source code snippets, application routes, and development logs.

Statement

This vulnerability is rated as Moderate severity because it is confined strictly to local development environments and requires user interaction, rather than directly exposing production infrastructure. Production builds do not instantiate or serve the Model Context Protocol endpoint, leaving deployed runtime workloads unaffected. Exposure is limited to scenarios where an engineer running an active local development server visits an untrusted website, which can then perform cross-origin queries to read workspace paths, logs, and route data.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 4.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N

CWE-346 · Origin Validation Error