GitHub Advisoryadvisory · npm
GHSA-f87g-xv8r-7p7x Next.js has information disclosure in App Router metadata image routes via dynamicParams bypass
MEDIUM
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
- https://github.com/vercel/next.js/security/advisories/GHSA-f87g-xv8r-7p7x web
- https://nvd.nist.gov/vuln/detail/CVE-2026-94485 advisory
- https://github.com/vercel/next.js/commit/2d9f50a409312696145b82b3157aadb6b1fef476 web
- https://github.com/vercel/next.js package
- https://github.com/vercel/next.js/releases/tag/v16.3.8 web