~ / search / GHSA-f87g-xv8r-7p7x

GHSA-f87g-xv8r-7p7x

Next.js has information disclosure in App Router metadata image routes via dynamicParams bypass

Source: GitHub Advisory Database (reviewed) Moderate CVE-2026-94485

Packages

EcosystemPackageAffectedFixed in
npm next >= 16.0.0, < 16.3.8 16.3.8

Details

As written in the advisory (Markdown source, shown as plain text).

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()`.

References

External links from the advisory. They lead to third-party sites.