CVE-2026-94486

Next.js: Information disclosure in the Next.js development server's Model Context Protocol endpoint

Published Oct 2, 2026 CVSS 4.0 · 2.3 Low EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

A vulnerability in the Next.js development server allows a malicious webpage that a developer visits to send requests to the exposed Model Context Protocol endpoint. Because the endpoint lacks proper cross‑site request restrictions, the attacker can read sensitive data such as the project's disk path, source code snippets from error reports, route inventory, and development logs. The flaw appears to not require authentication (inferred from lack of authentication checks) and is limited to the development environment; production deployments do not expose the endpoint.

Affected Systems

Next.js versions from 16.0.0 through 16.3.7 are affected. The issue is present only on the development server, not on production deployments, and is fixed in Next.js 16.3.8.

Risk and Exploitability

The CVSS score is 2.3, indicating a low severity impact. EPSS data is not available, and the vulnerability is not listed in the CISA KEV catalog. Attackers could likely exploit the lack of same‑origin restrictions by hosting a malicious site and visiting the dev server (inferred), then retrieving source code snippets, file paths, and other internal information. The exposure appears limited to developers who have direct access to the machine running the dev server and to the network that can reach it (inferred).

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Next.js to version 16.3.8 or later, which removes the exposed endpoint.
  • Restrict the development server to trusted network ranges or localhost only, ensuring that the Model Context Protocol endpoint cannot be reached from external sites.
  • Configure network or application layer blocking or monitor logging for suspicious cross‑site requests to the endpoint to detect potential abuse.

Generated by OpenCVE AI on October 2, 2026 at 17:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-39w2-rjm5-chcv Next.js has information disclosure in development server's Model Context Protocol endpoint
History
Type Values Removed Values Added
CPEs cpe:2.3:a:vercel:next.js:*:*:*:*:*:node.js:*:*
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N'}

cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N'}

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N'}

threat_severity

Moderate

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Vercel
Vercel next.js
Vendors & Products Vercel
Vercel next.js
Type Values Removed Values Added
Description 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.
Title Next.js: Information disclosure in the Next.js development server's Model Context Protocol endpoint
Weaknesses CWE-346
References
Metrics cvssV4_0

{'score': 2.3, '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 2, 2026, 4:20 PM
Reserved
Sep 21, 2026, 5:25 PM
Status
Analyzed
Published
Oct 2, 2026, 4:16 PM
Modified
Oct 5, 2026, 2:58 PM
Severity
Moderate
Public date
Oct 2, 2026, 3:12 PM