Next.js has information disclosure in development server's Model Context Protocol endpoint
Description
Published by the National Vulnerability Database
Oct 2, 2026
Published to the GitHub Advisory Database
Oct 7, 2026
Reviewed
Oct 7, 2026
Last updated
Oct 7, 2026
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 withnext devare affected. Production deployments do not serve this endpoint.References