Actively exploited vulnerability / CVE-2025-29927
Next.js: attackers can get around access checks in web applications
This vulnerability lets an attacker bypass the checks that decide who may see certain pages or data, when those checks are done in the part of the application called middleware. Someone without permission could reach areas of your website or application that should be protected, such as admin panels or customer data. It is on the list of vulnerabilities used in real attacks kept by ENISA, the EU cybersecurity agency.
- Identifier
- CVE-2025-29927 · EUVD-2025-7243
- Severity
- Critical (9.1/10)
- On the ENISA list (EU)
- yes
- Probability of exploitation (EPSS)
- 99.2% (FIRST's estimate for the next 30 days)
Does it concern you?
Next.js is a framework from Vercel used to build websites and web applications. If your company has a website, online shop or custom web application, your developers may have built it with Next.js.
Ask the team or agency that built your application which Next.js version it uses; the version is listed in the project files. Affected versions are 11.1.4 up to but not including 12.3.5, 13.0.0 up to 13.5.9, 14.0.0 up to 14.2.25, and 15.0.0 up to 15.2.3.
Affected products and versions
- Vercel Next.Js
- next.js: from 11.1.4 before 12.3.5; from 13.0.0 before 13.5.9; from 14.0.0 before 14.2.25; from 15.0.0 before 15.2.3
What to do
Have your developers update to version 12.3.5, 13.5.9, 14.2.25 or 15.2.3, or newer, depending on the line you use. If updating is not possible right away, they can apply the vendor's temporary workaround, which blocks a specific kind of outside request before it reaches the application.
Versions that contain the fix: 12.3.5, 13.5.9, 14.2.25, 15.2.3.
The official description
The text below is the description from the public database.
Next.js is a React framework for building full-stack web applications. Starting in version 1.11.4 and prior to versions 12.3.5, 13.5.9, 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. If patching to a safe version is infeasible, it is recommend that you prevent external user requests which contain the x-middleware-subrequest header from reaching your Next.js application. This vulnerability is fixed in 12.3.5, 13.5.9, 14.2.25, and 15.2.3.
Sources
Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 3 December 2026.