GitHub Advisoryadvisory · npm

GHSA-wfc6-r584-vfw7 Next.js vulnerable to cache poisoning in React Server Component responses

MEDIUM Published 2026-05-11 Modified 2026-05-14 Official page ↗
Aliases
CVE-2026-44576
Ecosystem
npm
Packages
next
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:L
Weaknesses
CWE-436
Reviewed
2026-05-11

Affected packages

• npm next: >= 14.2.0, < 15.5.16 → fixed in 15.5.16 • npm next: >= 16.0.0, < 16.2.5 → fixed in 16.2.5

Description

Impact Applications using React Server Components can be vulnerable to cache poisoning when shared caches do not correctly partition response variants. Under affected conditions, an attacker can cause an RSC response to be served from the original URL and poison shared cache entries so later visitors receive component payloads instead of the expected HTML. Fix We now validate and interpret `RSC` request headers consistently across request classification and rendering, and we enforce the intended cache-busting behavior so RSC payloads are not unexpectedly served from the original URL. Workarounds If you cannot upgrade immediately, ensure your CDN or reverse proxy keys on the relevant RSC request headers and honors `Vary`, or disable shared caching for affected App Router and RSC responses.

Related

Alias · CVE (1)

  • CVE-2026-44576 Next.js is a React framework for building full-stack web applications. vulnerability

Weakness · CWE (1)

  • CWE-436 Interpretation Conflict weakness

References