CVE-2025-29927Vercel Next.js
Critical 9.1 No auth needed
Follow: this CVE · Vercel · Vercel Next.js We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- —
- Auth required
- No
- Published
- Mar 21, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Next.js.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | next |
≥ 13.0.0 < 13.5.9 |
13.5.9 |
npm install next@13.5.9 |
| npm | next |
≥ 14.0.0 < 14.2.25 |
14.2.25 |
npm install next@14.2.25 |
| npm | next |
≥ 15.0.0 < 15.2.3 |
15.2.3 |
npm install next@15.2.3 |
| npm | next |
≥ 12.0.0 < 12.3.5 |
12.3.5 |
npm install next@12.3.5 |
Per OSV / GitHub Advisories (GHSA-f82v-jwr5-mffw). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| vercel | next.js | ≥ 11.1.4 < 12.3.5 |
| vercel | next.js | ≥ 13.0.0 < 13.5.9 |
| vercel | next.js | ≥ 14.0.0 < 14.2.25 |
| vercel | next.js | ≥ 15.0.0 < 15.2.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Release Notes
- github.com Release Notes
- github.com Vendor Advisory
- www.openwall.com Mailing List Third Party Advisory
- www.openwall.com Mailing List
- security.netapp.com Third Party Advisory