Next.js Framework 12.x < 15.5.21 / 16.x < 16.2.11 SSRF

critical Nessus Plugin ID 330090

Synopsis

The Next.js Framework on the remote host is affected by a server-side request forgery vulnerability.

Description

The Next.js Framework on the remote host is affected by a server-side request forgery vulnerability:

- 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. (CVE-2026-64645)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Next.js Framework version 15.5.21 or 16.2.11 or later.

See Also

http://www.nessus.org/u?68296757

Plugin Details

Severity: Critical

ID: 330090

File Name: nextjs_framework_CVE-2026-64645.nasl

Version: 1.1

Type: Local

Agent: windows, macosx, unix

Family: Misc.

Published: 7/27/2026

Updated: 7/27/2026

Configuration: Enable thorough checks (optional)

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

Percentile: 53.63

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

CVSS Score Source: CVE-2026-64645

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Vulnerability Information

CPE: cpe:/a:vercel:next.js

Required KB Items: Host/nodejs/modules/enumerated

Patch Publication Date: 7/22/2026

Vulnerability Publication Date: 7/22/2026

Reference Information

CVE: CVE-2026-64645

IAVA: 2026-A-0765