GHSA-39w2-rjm5-chcv

Next.js has information disclosure in development server's Model Context Protocol endpoint

At a glance

Published
Updated
CVE
CVE-2026-94486
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
CVSS_V4
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

Description

The Next.js development server (`next dev`) exposes a Model Context Protocol endpoint that does not verify which website a request originates from, allowing a malicious website visited by the developer to read sensitive development data — including the project's location on disk, source code snippets from error reports, the route inventory, and development logs. Only applications run with `next dev` are affected. Production deployments do not serve this endpoint.

Affected packages

PackageVersions
npm · nextintroduced 16.0.0, fixed 16.3.8

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database