Advisory

GHSA-39w2-rjm5-chcv

Also known as: CVE-2026-94486

Summary

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

Details

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.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2026-10-07 20:31 UTC
Modified
2026-10-07 20:45 UTC

Affected packages and fixes

next

npm · All systems

Affected

  • introduced 16.0.0, fixed 16.3.8 (semver)

Fixed versions

16.3.8

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences