ADVISORIES

GitHub Advisory Database

GHSA-f87g-xv8r-7p7x

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

Moderate CVE-2026-94485

Details

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

Affected packages

EcosystemPackageAffected versions
npmnext
From 16.0.0 before 16.3.8 (fixed in 16.3.8)

References