Advisory

GHSA-4jqv-mc3x-m676

Also known as: CVE-2026-94543

Summary

Next.js has cache poisoning of SSG and ISR pages in self-hosted applications

Details

Self-hosted Next.js applications that use the Pages Router with statically generated (SSG) or incrementally regenerated (ISR) pages can have a page's cache entry replaced with content from a different route, causing the affected page to serve wrong content to every visitor until the entry is revalidated. Applications deployed on Vercel are not affected.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-10-07 20:32 UTC
Modified
2026-10-07 20:45 UTC

Affected packages and fixes

next

npm · All systems

Affected

  • introduced 15.0.0, fixed 15.5.27 (semver)

Fixed versions

15.5.27

Fix

next

npm · All systems

Affected

  • introduced 16.0.0, fixed 16.3.8 (semver)

Fixed versions

16.3.8

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences