Advisory

GHSA-f87g-xv8r-7p7x

Also known as: CVE-2026-94485

Summary

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

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

Severity

Medium Basis: The source's own band: MODERATE

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