Next.js 14.x < 14.2.25 Authorization Bypass

critical Web App Scanning Plugin ID 114682

Synopsis

Next.js 14.x < 14.2.25 Authorization Bypass

Description

The version of Next.js installed on the remote host is 11.1.4 prior to 13.5.6, 14.x prior to 14.2.25 or 15.x prior to 15.2.3. It is, therefore, affected by Authorization Bypass if the authorization check occurs in middleware.

Note that the scanner has not attempted to exploit this issue but has instead relied only on application's self-reported version number.

Solution

Upgrade to version 14.2.25 or 15.2.3 or later.

See Also

https://nextjs.org/blog/cve-2025-29927

https://zhero-web-sec.github.io/research-and-things/nextjs-and-the-corrupt-middleware

Plugin Details

Severity: Critical

ID: 114682

Type: remote

Published: 3/24/2025

Updated: 3/24/2025

Scan Template: basic, full, pci, scan

Risk Information

VPR

Risk Factor: High

Score: 8.5

CVSS v2

Risk Factor: High

Base Score: 9.4

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

CVSS Score Source: CVE-2025-29927

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

CVSS Score Source: CVE-2025-29927

Vulnerability Information

CPE: cpe:2.3:a:vercel:next.js:*:*:*:*:*:*:*:*

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 3/20/2025

Reference Information

CVE: CVE-2025-29927