6.3Medium

CVE-2026-94485Next.js: Information disclosure in Next.js App Router metadata image routes via dynamicParams bypass

vercel next.js Published: (1 month ago)

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.

Weakness (CWE): CWE-346

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
vercel next.js >= 16.0.0, < 16.3.8

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:vercel:next.js:*:*:*:*:*:node.js:*:* ≥ 16.0.0 < 16.3.8