Advisory record · GHSA-f87g-xv8r-7p7x

Next.js has information disclosure in App Router metadata image routes via dynamicParams bypass

CVSS 6.3 MediumEPSS 0.0017 · 6th percentile

Published by the GitHub Advisory Database at 7 Oct 2026, 20:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
nextnpm>=16.0.0, <16.3.816.3.8
Identifiers
GHSA-f87g-xv8r-7p7x · CVE-2026-94485
Weakness (CWE)
CWE-346
Published
7 Oct 2026
Updated
7 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Next.js versions 16.0.0 up to but not including 16.3.8 are affected in App Router applications built with webpack. Metadata image routes such as opengraph-image and twitter-image ignore the dynamicParams route segment option, so an attacker can request metadata image URLs for dynamic segments that were deliberately excluded from generateStaticParams(). Upgrade the next package to version 16.3.8 or later.

Written 31 Oct 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.3 Medium 4.0 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 CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0017, the 6th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 13:33 UTC First seen by agentprime
  2. 31 Oct 2026, 13:33 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.