---
id: CVE-2026-64645
title: 'next: Next.js: Server-Side Request Forgery vulnerability (CVE-2026-64645)'
summary: >-
  A flaw was found in Next.js, a React framework for building web applications.
  This vulnerability allows a remote attacker to perform Server-Side Request
  Forgery (SSRF) or Open Redirect attacks. When a `rewrites()` or `redirects()`
  rule con…
severity: high
cvss: 8.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N'
cvssSource: vendor
cwe: CWE-918
vendor: Red Hat
product: Red Hat Enterprise Linux AI (RHEL AI) 3
affected:
  - enterprise_linux_ai_rhel_ai 3
  - streams_for_apache_kafka 2
  - streams_for_apache_kafka 3.2.1
patched:
  - streams_for_apache_kafka 3.2.1
published: '2026-07-27'
updated: '2026-10-06'
sourceUpdated: '2026-10-06T19:30:29+00:00'
source: CSAF
sourceUrl: 'https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-64645.json'
references:
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-64645.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-64645'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2507618'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-64645'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-64645'
  - url: >-
      https://github.com/vercel/next.js/commit/35f501357e9b0fe7c950b0d6aa8fcf5343f707e9
  - url: >-
      https://github.com/vercel/next.js/commit/d3033266c6dff23f7be71e19341fe3a8c6e2c599
  - url: 'https://github.com/vercel/next.js/releases/tag/v15.5.21'
  - url: 'https://github.com/vercel/next.js/releases/tag/v16.2.11'
  - url: 'https://github.com/vercel/next.js/security/advisories/GHSA-p9j2-gv94-2wf4'
  - url: 'https://access.redhat.com/errata/RHSA-2026:54435'
  - url: 'https://github.com/advisories/GHSA-p9j2-gv94-2wf4'
tags:
  - csaf
  - vex
  - red-hat
  - ghsa
  - npm
epss: 0.00414
epssPercentile: 0.35462
aliases:
  - GHSA-p9j2-gv94-2wf4
ecosystem: npm
ingestedAt: '2026-07-22T23:07:32.217Z'
---

## Overview

A flaw was found in Next.js, a React framework for building web applications. This vulnerability allows a remote attacker to perform Server-Side Request Forgery (SSRF) or Open Redirect attacks. When a `rewrites()` or `redirects()` rule constructs an external destination hostname using attacker-controlled input, the application can be coerced into proxying requests to arbitrary hosts, leading to SSRF. Additionally, this misconfiguration can result in Open Redirects, potentially exposing users to phishing.

## Vendor advisories

- **RHSA-2026:54435** · Red Hat · fixed in: Streams for Apache Kafka 3.2.1 · released 2026-08-12 · [advisory](https://access.redhat.com/errata/RHSA-2026:54435)
- **Red Hat VEX** · Important · affected: Red Hat Enterprise Linux AI (RHEL AI) 3, streams for Apache Kafka 2 · no fix planned: Red Hat Enterprise Linux AI (RHEL AI) 3, streams for Apache Kafka 2 · updated 2026-10-06 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-64645.json)

**next: Next.js: Server-Side Request Forgery vulnerability** — rated Important by Red Hat. Released 2026-07-27, updated 2026-10-06.

Affected:

- Red Hat Enterprise Linux AI (RHEL AI) 3
- streams for Apache Kafka 2

Fixed:

- Streams for Apache Kafka 3.2.1

No fix planned:

- Red Hat Enterprise Linux AI (RHEL AI) 3
- streams for Apache Kafka 2

Not affected:

- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Trusted Artifact Signer

## Remediation

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

For details on how to apply this update, refer to:

https://access.redhat.com/articles/11258 https://access.redhat.com/errata/RHSA-2026:54435

## Package advisory (CVE-2026-64645)

Affected packages:

- `next >= 12.0.0, < 15.5.21`
- `next >= 16.0.0, < 16.2.11`

Patched in:

- `next 15.5.21`
- `next 16.2.11`

Source: https://github.com/advisories/GHSA-p9j2-gv94-2wf4
