MEDIUM5.4
GHSA-39w2-rjm5-chcv
Next.js has information disclosure in development server's Model Context Protocol endpoint
Quick fix
GHSA-39w2-rjm5-chcv — next: upgrade to the fixed version with the command below.
npm install next@16.3.8Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/vercel/next.js/security/advisories/GHSA-39w2-rjm5-chcv[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2026-94486[ADVISORY]
- https://github.com/vercel/next.js/commit/2d9f50a409312696145b82b3157aadb6b1fef476[WEB]
- https://github.com/vercel/next.js[PACKAGE]
- https://github.com/vercel/next.js/releases/tag/v16.3.8[WEB]