CVE-2026-94485

Next.js: Information disclosure in Next.js App Router metadata image routes via dynamicParams bypass

Published Oct 2, 2026 CVSS 4.0 · 6.3 Medium 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

The vulnerability arises from the Next.js development server exposing a Model Context Protocol (MCP) endpoint that does not enforce proper cross‑site request restrictions. When a developer is running the server, a malicious website can send requests to this MCP endpoint and retrieve sensitive development data, including the project’s disk location, snippets of source code from error reports, a list of all defined routes, and development logs. This access is not limited to authenticated users and can be performed through a normal web browser visit. The exposed data could assist attackers in building an attack surface or jumping to further compromise exploitation steps.

Affected Systems

The issue affects the Vercel Next.js framework, versions 16.0.0 through 16.3.8 inclusive. This applies only to the local development server and has been fixed in version 16.3.8.

Risk and Exploitability

The CVSS score of 6.3 indicates a moderate severity risk. The EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog, suggesting a lower likelihood of widespread exploitation. The likely attack vector is a malicious website visited by a developer who is running the development server, allowing the attacker to issue cross‑site requests to the MCP endpoint from the developer’s browser. Since production deployments do not serve this endpoint, the damage is confined to the development environment. However, exposing source code or project structure could aid future attacks or facilitate social engineering on the same network.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Next.js to version 16.3.8 or later to apply the vendor‑supplied fix
  • Configure the development server so that it listens only on localhost or a tightly controlled network segment to prevent external access
  • Avoid browsing untrusted or arbitrary websites while the development server is running to eliminate the cross‑site request threat

Generated by OpenCVE AI on October 2, 2026 at 16:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-f87g-xv8r-7p7x Next.js has information disclosure in App Router metadata image routes via dynamicParams bypass
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.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/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 Next.js App Router metadata image routes via dynamicParams bypass
Weaknesses CWE-346
References
Metrics cvssV4_0

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

Weaknesses

Sources

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