# CVE-2026-64645: Next.js: Server-Side Request Forgery in rewrites via attacker-controlled destination hostname

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.3 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 15.5.21, 16.2.11 (CNA); fix release not confirmed
- Status: published
- Published: 2026-07-27 · Modified: 2026-07-28
- Aliases: CGA-2mf2-2xp4-q9vm, CGA-6ghx-6rxg-6xhg, CGA-ccrh-r4g7-xxx3, CGA-cxcq-6r85-9w9r, CGA-pghp-v78w-p6h8, CGA-q7h3-5487-gp2j, GHSA-p9j2-gv94-2wf4, CGA-239p-fmf3-wvp8, CGA-2f5h-pmjc-g66p, CGA-5gf6-7x23-9735, CGA-5xgg-fw2w-xj6p, CGA-6ppq-pf48-99g7, CGA-8hp6-36jw-mrvh, CGA-9hgv-2vg3-qcm7, CGA-9mrv-795m-mjmf, CGA-9ppj-5f8j-qx6h, CGA-9vwq-x94r-3pvw, CGA-9wgq-9qrf-7mpq, CGA-9wqf-9996-m94j, CGA-g37m-rwpf-rw87, CGA-hrv7-5m96-p9jh, CGA-hw8r-h942-q7q9, CGA-hwgp-9rg7-wf3h, CGA-j33j-jh9j-jq6m, CGA-mjjp-rrh9-44hx, CGA-p4qj-9q7r-3cg4, CGA-q68f-3vwg-gc9f, CGA-r342-c5q6-74gh, CGA-wgj5-jh8p-rhcc
- Record: https://cvemate.com/vulnerability/CVE-2026-64645 · JSON: https://cvemate.com/vulnerability/CVE-2026-64645/json

## Description

```text
Next.js is a React framework for building full-stack web applications. In versions 12.0.0 through 15.5.20 and 16.0.0 through 16.2.10, a
 rewrites() or redirects() rule that builds its external destination hostname from request-controlled input can be pointed at an arbitrary hostname, regardless of the rule's hostname suffix. For a rewrite, Next.js proxies the request to that arbitrary host and serves the response from the application's origin, leading to Server-Side Request forgery. A redirects() rule configured this way is vulnerable to an Open Redirect. This issue has been fixed in versions 15.5.21 and 16.2.11.
```

## Signals

- CVSS: 8.3 high (v4.0, CVE.org) CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:L/SI:L/SA:N
- EPSS: 0.925%, percentile 61.655%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard cadence-web (Chainguard): All versions (No fix recorded) \| \< 4.0.18-r0
- chainguard commercial-chainloop-frontend (Chainguard): All versions (No fix recorded)
- chainguard homepage (Chainguard): \< 1.13.2-r8 \| \< 1.13.2-r9
- chainguard jitsucom-jitsu-console (Chainguard): \< 2.11.0-r30
- chainguard keep-ui (Chainguard): \< 0.54.2-r1
- chainguard keep-ui-fips (Chainguard): \< 0.54.2-r1
- chainguard langfuse-2 (Chainguard): \< 2.95.12-r35
- chainguard langfuse-3 (Chainguard): \< 3.224.1-r0
- chainguard langfuse-3-compat (Chainguard): \< 3.225.7-r6
- chainguard langfuse-3-worker (Chainguard): \< 3.224.1-r0
- chainguard langfuse-fips-2 (Chainguard): \< 2.95.12-r38
- chainguard langfuse-fips-3 (Chainguard): \< 3.224.1-r0
- chainguard langfuse-fips-3-worker (Chainguard): \< 3.224.1-r0
- chainguard peerdb-ui (Chainguard): \< 0.37.3-r1
- wolfi jitsucom-jitsu-console (Wolfi): \< 2.11.0-r30
- wolfi langfuse-3 (Wolfi): \< 3.224.1-r0
- wolfi langfuse-3-compat (Wolfi): \< 3.225.7-r6
- wolfi langfuse-3-worker (Wolfi): \< 3.224.1-r0
- Npm next (Npm): ≥ 12.0.0, \< 15.5.21 \| ≥ 16.0.0, \< 16.2.11
- vercel next.js: ≥ 12.0.0 \< 15.5.21 (No fix recorded) \| ≥ 12.0.0, \< 15.5.21 \| ≥ 16.0.0, \< 16.2.11

## References

- <https://github.com/vercel/next.js/security/advisories/GHSA-p9j2-gv94-2wf4>
- <https://github.com/vercel/next.js/commit/35f501357e9b0fe7c950b0d6aa8fcf5343f707e9>
- <https://github.com/vercel/next.js/commit/d3033266c6dff23f7be71e19341fe3a8c6e2c599>
- <https://github.com/vercel/next.js/releases/tag/v15.5.21>
- <https://github.com/vercel/next.js/releases/tag/v16.2.11>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64645.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-64645>
- <https://github.com/vercel/next.js>

---

Data as of 2026-12-05T10:20:20.552Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
