MEDIUM 5.4 npm

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

GHSA-39w2-rjm5-chcv · CVE-2026-94486

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes