CVE-2026-94485
JSON

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 packageVersionsReported by
vercel next.js>= 16.0.0, < 16.3.8, from 16.0.0 before 16.3.8CVE List, NVD
next (npm)from 16.0.0 before 16.3.8GitHub Advisory Database

All scores

GitHub_M6.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Classification

CWE-346

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

SourceRecordLicence
CVE ListCVE-2026-94485 changed 2026-10-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-f87g-xv8r-7p7x changed 2026-10-07CC-BY-4.0
NVDCVE-2026-94485 changed 2026-10-05Public domain