Feed
5.9MEDIUM

CVE-2026-44572Next.js's Middleware / Proxy redirects can be cache-poisoned

A medium-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 0.2% chance of exploitation in the next 30 days. A fixed version is named.

Exploited in the wild
Not in KEV
EPSS
0.2%
percentile 7%
Priority
23/100 low
how it is computed
Fix
Named by a source
CVE published 13 May 2026

Reference

None of the "Needs attention" rules apply right now.

EPSS 0.2% (+0) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)

Immediate actions

Who should check

  • next (npm) pkg:npm/next

    • Affected>= 12.2.0, < 15.5.16Fixed in15.5.16OSV (GHSA-3g8h-86w9-wvmq)
    • Affected>= 16.0.0, < 16.2.5Fixed in16.2.5OSV (GHSA-3g8h-86w9-wvmq)
  • vercel next.js product:vercel/nextjs

    • Affected>= 12.2.0, < 15.5.16Affected range ends before15.5.16as published by CNA (CVE List)
    • Affected>= 16.0.0, < 16.2.5Affected range ends before16.2.5as published by CNA (CVE List)
    • Affected>= 12.2.0, < 15.5.16Affected range ends before15.5.16as published by CPE data (via the NVD API)
    • Affected>= 16.0.0, < 16.2.5Affected range ends before16.2.5as published by CPE data (via the NVD API)

Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.

Confirmed facts

CVSS
5.9 MEDIUM (version 3.1)
Score from
NVD
Attack vector
network
Attack complexity
high
Privileges required
none
User interaction
none
Weakness
CWE-349
Exploitation (CISA SSVC)
none
Automatable (CISA SSVC)
no
Assigned by
[email protected]

Unknowns

  • We show one CVSS score. Other sources may score this CVE differently.

Advisory text

Quoted from the source advisory (untrusted)Next.js is a React framework for building full-stack web applications. From 12.2.0 to before 15.5.16 and 16.2.5, an external client could send a x-nextjs-data header on a normal request to a path handled by middleware that returns a redirect. When that happened, the middleware/proxy could treat the request as a data request and replace the standard Location redirect header with the internal x-nextjs-redirect header. Browsers do not follow x-nextjs-redirect, so the response became an unusable redirect for normal clients. If the application was deployed behind a CDN or reverse proxy that caches 3xx responses without varying on this header, a single attacker request could poison the cached redirect response for the affected path. Subsequent visitors could then receive a cached redirect response without a Location header, causing a denial of service for that redirect path until the cache entry expired or was purged. This vulnerability is fixed in 15.5.16 and 16.2.5.

Update history

  • 13 May 2026Published

References

Sources

This page is our own presentation: records are shortened, normalised and merged. Licences

Last checked: kev 38 min ago · osv 37 min ago · nvd 37 min ago · epss 37 min ago · JSON · ask via MCP: explain_vulnerability

Also known as GHSA-3g8h-86w9-wvmq