# GHSA-F87G-XV8R-7P7X: Next.js has information disclosure in App Router metadata image routes via dynamicParams bypass

- Database: GitHub
- Severity: medium (stated by ghsa, no CVSS score)
- Published: 2026-10-07
- Modified: 2026-10-07

## Tracked as

- [CVE-2026-94485](https://cve.now/CVE-2026-94485.md): Next.js: Information disclosure in Next.js App Router metadata image routes via dynamicParams bypass

## Affected versions

- next (npm): from 16.0.0, 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()`.

## References

- https://github.com/vercel/next.js/security/advisories/GHSA-f87g-xv8r-7p7x
- https://nvd.nist.gov/vuln/detail/CVE-2026-94485
- https://github.com/vercel/next.js/commit/2d9f50a409312696145b82b3157aadb6b1fef476
- https://github.com/vercel/next.js
- https://github.com/vercel/next.js/releases/tag/v16.3.8

Page: https://cve.now/GHSA-F87G-XV8R-7P7X

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
