vulnerability

vercel next.js: CVE-2025-29927: (Improper Authorization)

Severity
9
CVSS
(AV:N/AC:L/Au:N/C:C/I:C/A:N)
Published
03/21/2025
Added
03/25/2025
Modified
03/26/2025

Description

Next.js is a React framework for building full-stack web applications. Prior to 14.2.25 and 15.2.3, it is possible to bypass authorization checks within a Next.js application, if the authorization check occurs in middleware. This check is exploit based and as a result runs a get request against a series of URIs (/admin, /dashboard, /settings, /account, /profile) and checks for a redirect request (response code 307) that would suggest a login is required. We then attempt to use the x-middleware-subrequest to bypass this login requirement which can be observed in the request returning a 200 response code.

Solution

vercel-next-js-cve-2025-29927
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.