# CVE-2026-44572: Next.js: Middleware / Proxy redirects can be cache-poisoned

- Severity: Low 3.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2026-05-11T16:12:07.000Z
- Modified: 2026-10-26T18:10:00.173Z
- Also known as: GHSA-3g8h-86w9-wvmq
- Weaknesses: CWE-349
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- vercel next.js: >= 12.2.0, < 15.5.16; >= 16.0.0, < 16.2.5; from 12.2.0 before 15.5.16; from 16.0.0 before 16.2.5
- next (npm): from 12.2.0 before 15.5.16; from 16.0.0 before 16.2.5

## Every score

- GitHub_M: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/vercel/next.js/security/advisories/GHSA-3g8h-86w9-wvmq> (mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-44572> (advisory)
- <https://github.com/vercel/next.js> (package)
- <https://github.com/vercel/next.js/releases/tag/v15.5.16> (web)
- <https://github.com/vercel/next.js/releases/tag/v16.2.5> (web)

## Sources

- CVE List: [CVE-2026-44572](https://www.cve.org/CVERecord?id=CVE-2026-44572), CVE Terms of Use, modified 2026-05-14
- GitHub Advisory Database: [GHSA-3g8h-86w9-wvmq](https://github.com/advisories/GHSA-3g8h-86w9-wvmq), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-44572](https://nvd.nist.gov/vuln/detail/CVE-2026-44572), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-44572 · Whole record: https://cve.day/CVE-2026-44572.json · Rebuilt by cve.day 2026-11-25T22:59:21.599Z
