GitHub Advisoryadvisory · npm

GHSA-f87g-xv8r-7p7x Next.js has information disclosure in App Router metadata image routes via dynamicParams bypass

MEDIUM Published 2026-10-07 Modified 2026-10-07 Official page ↗
Aliases
CVE-2026-94485
Ecosystem
npm
Packages
next
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weaknesses
CWE-346
Reviewed
2026-10-07

Affected packages

• npm next: >= 16.0.0, < 16.3.8 → fixed in 16.3.8

Description

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

Related

Alias · CVE (1)

  • CVE-2026-94485 Next.js is a React framework for building full-stack web applications. vulnerability

Weakness · CWE (1)

  • CWE-346 Origin Validation Error weakness

References