CVE-2026-94485: Next.js: Information disclosure in Next.js App Router metadata image routes via dynamicParams bypass

Published Oct 2, 2026
·
Updated

In Next.js App Router applications built with webpack, metadata image routes such as opengraph-image and twitter-image ignore the dynamicParams route segment option. An attacker can request metadata image URLs for dynamic segments that were deliberately excluded from generateStaticParams().

Other sources

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.

— MITRE

Affected Software

3 affected componentsFixes available
npm/next>=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:23 PM
Data Sourced
via MITRE·03:23 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 versions from 16.0.0 through 16.3.8 are exposed if they visit a malicious website. Production deployments are not affected because they do not serve the vulnerable endpoint.

2

What does an attacker need to exploit it?

The attacker needs a developer using an affected Next.js development server to visit a malicious website. The website can then make cross-site requests to the development server's Model Context Protocol endpoint.

3

What information could be disclosed?

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

4

What should teams do if they are using an affected version?

Upgrade Next.js to version 16.3.8, which fixes the issue. Until upgraded, avoid visiting untrusted websites while an affected Next.js development server is running.

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