vercel/next.js · Security
Next.js has information disclosure in development server's Model Context Protocol endpoint
- GHSA ID
- GHSA-39w2-rjm5-chcv
- CVE ID
- CVE-2026-94486
- Severity
- low
- Published
- Updated
- CVSS
- 5.4 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
- CVSS v3
- 5.4 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
- CVSS v4
- 2.3 · 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.
CWEs
- CWE-346 · Origin Validation Error
References
- https://github.com/vercel/next.js/security/advisories/GHSA-39w2-rjm5-chcv ↗
- https://nvd.nist.gov/vuln/detail/CVE-2026-94486 ↗
- https://github.com/vercel/next.js/commit/2d9f50a409312696145b82b3157aadb6b1fef476 ↗
- https://github.com/vercel/next.js/releases/tag/v16.3.8 ↗
- https://github.com/advisories/GHSA-39w2-rjm5-chcv ↗