vercel/next.js · Security
Next.js has information disclosure in App Router metadata image routes via dynamicParams bypass
- GHSA ID
- GHSA-f87g-xv8r-7p7x
- CVE ID
- CVE-2026-94485
- Severity
- medium
- Published
- Updated
- CVSS
- 5.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CVSS v3
- 5.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CVSS v4
- 6.3 · CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
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().
CWEs
- CWE-346 · Origin Validation Error
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/releases/tag/v16.3.8 ↗
- https://github.com/advisories/GHSA-f87g-xv8r-7p7x ↗