CVE-2026-94486: Next.js: Information disclosure in the Next.js development server's Model Context Protocol endpoint

Published Oct 2, 2026
·
Updated

Next.js is a React framework for building full-stack web applications. From 16.0.0 until 16.3.8, the next dev development server exposes a Model Context Protocol endpoint without reliably restricting cross-site requests. A malicious website visited by a developer can reach the endpoint and read the project's disk location, source code snippets from error reports, route inventory, and development logs. Production deployments do not serve this endpoint. This issue is fixed in version 16.3.8.

Other sources

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.

— GitHub

Affected Software

3 affected componentsFixes available
Vercel Next.js>=16.0.0<16.3.8
Vercel Next.js Node.js>=16.0.0<16.3.8
npm/next>=16.0.0<16.3.8
16.3.8

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/next to a version that resolves this vulnerability.

    Fixed in 16.3.8
  2. Upgrade

    Upgrade Next.js to a version that resolves this vulnerability.

    Fixed in 16.3.8

Event History

Oct 2, 2026
CVE Published
via MITRE·03:12 PM
Data Sourced
via MITRE·03:12 PM
DescriptionWeakness
Data Sourced
via NVD·04:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Oct 7, 2026
Advisory Published
via GitHub·08:31 PM
Data Sourced
via GitHub·08:31 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Who is exposed to this issue?

Developers running the Next.js development server with affected versions from 16.0.0 through 16.3.7 are exposed if they visit a malicious website. Production deployments are not affected because they do not serve the endpoint.

2

What does an attacker need to exploit it?

The attacker needs the developer to visit a malicious website while the affected next dev server is running. The malicious site can then make cross-site requests to the development server's Model Context Protocol endpoint.

3

What information could be disclosed?

The endpoint can expose the project's disk location, source code snippets contained in error reports, the route inventory, and development logs.

4

How can this be remediated?

Upgrade Next.js to version 16.3.8, which fixes the issue. The affected version range begins at 16.0.0 and ends before 16.3.8.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203