6.3medium
Next.js: Information disclosure in Next.js App Router metadata image routes via dynamicParams bypass
- Severity
- 6.3medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.25% (higher than 10% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-f87g-xv8r-7p7x
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| vercel next.js | >= 16.0.0, < 16.3.8, from 16.0.0 before 16.3.8 | CVE List, NVD |
| next (npm) | from 16.0.0 before 16.3.8 | GitHub Advisory Database |
All scores
| GitHub_M | 6.3medium CVSS:4.0 | 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 |
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| GitHub | medium CVSS:4.0 | 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 |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
In Next.js App Router applications built with webpack, metadata image routes such as opengraph-image and twitter-image ignore the dynamicParams route segment option. An attacker can request metadata image URLs for dynamic segments that were deliberately excluded from generateStaticParams().
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-94485 changed 2026-10-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-f87g-xv8r-7p7x changed 2026-10-07 | CC-BY-4.0 |
| NVD | CVE-2026-94485 changed 2026-10-05 | Public domain |