MediumFix available
Next.js has information disclosure in App Router metadata image routes via dynamicParams bypass
Type: advisorySources: OSV
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()`.
- Products
- next
- Affected versions
- Not specified
- Fixed versions
- 16.3.8
- CVEs
- CVE-2026-94485
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 28 Oct 2026, 08:48 UTC · Revision 1
Source evidence
Next.js has information disclosure in App Router metadata image routes via dynamicParams bypass
core-osv · Original sourcePublished 7 Oct 2026, 20:31 UTC
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()`.
osv:GHSA-f87g-xv8r-7p7x
next
Fixed versions: 16.3.8
Complete source record
{
"id": "f7a3a8a7e7cadbe59dd763068339731889bf8570dcd3380666ac4908b34db367",
"url": "https://osv.dev/vulnerability/GHSA-f87g-xv8r-7p7x",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Next.js has information disclosure in App Router metadata image routes via dynamicParams bypass",
"summary": "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()`.",
"evidence": "osv:GHSA-f87g-xv8r-7p7x",
"products": [
{
"name": {
"value": "next",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "16.3.8",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "GHSA-f87g-xv8r-7p7x",
"aliases": [
"CVE-2026-94485",
"GHSA-f87g-xv8r-7p7x"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
},
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "16.0.0"
},
{
"fixed": "16.3.8"
}
]
}
],
"package": {
"name": "next",
"purl": "pkg:npm/next",
"ecosystem": "npm"
},
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-f87g-xv8r-7p7x/GHSA-f87g-xv8r-7p7x.json"
}
}
],
"modified": "2026-10-07T20:45:04.338515172Z",
"provider": "osv",
"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"
],
"provider_metadata": {
"cwe_ids": [
"CWE-346"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2026-10-02T16:16:51Z",
"github_reviewed_at": "2026-10-07T20:31:33Z"
}
},
"related_cves": [
{
"value": "CVE-2026-94485",
"evidence": "/aliases"
}
],
"security_relevant": true,
"severity_evidence": "/severity/1/score"
},
"source_id": "core-osv",
"document_id": 97257,
"published_at": "2026-10-07T20:31:33+00:00"
}