CVE-2025-29927Vercel Next.js
NVDCVSS scored by security-advisories@github.com
Vulnerability Summary
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.
CVSS v3.1 Base Metrics — Score 9.1 (CRITICAL)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityNone
Affected & Patched Versions
- Vercel Next.js >= 11.1.4 and < 12.3.5
- Vercel Next.js >= 13.0.0 and < 13.5.9
- Vercel Next.js >= 14.0.0 and < 14.2.25
- Vercel Next.js >= 15.0.0 and < 15.2.3
- Vercel Next.js 12.3.5
- Vercel Next.js 13.5.9
- Vercel Next.js 14.2.25
- Vercel Next.js 15.2.3
What to do
Prioritize this fix. Exploit code is public, so attacks can follow quickly.
- Check whether you run Vercel Next.js and which version.
- Update to a patched version listed above, then confirm the new version.
- Review logs and exposed services for signs of earlier compromise.
Timeline
- Mar 21, 2025Published
- Sep 10, 2025Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Vercel Next.js CVEsYou are reading CVE-2025-29927. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsRelated Coverage
- Urgent: Patch Your Next.js for Authorization Bypass (CVE-2025-29927)
- Next.js Patches Three CVSS 8.3 Flaws in Rewrites, Server Actions, and Middleware
- OpenStack Admin Forgery: CVE-2026-22797 Lets Users ‘Ask’ for Root
- Operation PCPcat: 60,000 Next.js Servers Hijacked in Just 48 Hours
- Maximum Severity Alert: Critical RCE Flaw Hits Next.js (CVE-2025-66478, CVSS 10.0)
External References
- Patchhttps://github.com/vercel/next.js/commit/52a078da3884efe6501613c7834a3d02a91676d2
- Patchhttps://github.com/vercel/next.js/commit/5fd3ae8f8542677c6294f32d18022731eab6fe48
- Referencehttps://github.com/vercel/next.js/releases/tag/v12.3.5
- Referencehttps://github.com/vercel/next.js/releases/tag/v13.5.9
- Vendor Advisoryhttps://github.com/vercel/next.js/security/advisories/GHSA-f82v-jwr5-mffw
- Advisoryhttp://www.openwall.com/lists/oss-security/2025/03/23/3
- Advisoryhttp://www.openwall.com/lists/oss-security/2025/03/23/4
- Vendor Advisoryhttps://security.netapp.com/advisory/ntap-20250328-0002/
Data last checked: Nov 20, 2026 23:13 UTC