CVE-2025-29927 in Vercel Next.Js
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 in...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Vercel | Next.Js | ≥ 11.1.4, < 12.3.5 ≥ 13.0.0, < 13.5.9 ≥ 14.0.0, < 14.2.25 ≥ 15.0.0, < 15.2.3 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-29927 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-300648-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| Published | 2025-03-21 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-285: CWE-285
CWE-863: Incorrect Authorization
Software performs an authorization check incorrectly, allowing access beyond intended privileges.
Related attack patterns (CAPEC)
CAPEC-5 Blue Boxing via CWE-285
CAPEC-13 Subverting Environment Variable Values via CWE-285
CAPEC-45 Buffer Overflow via Symbolic Links via CWE-285
CAPEC-51 Poison Web Service Registry via CWE-285
CAPEC-59 Session Credential Falsification through Prediction via CWE-285
Show all 17
CAPEC-60 Reusing Session IDs (aka Session Replay) via CWE-285
CAPEC-76 Manipulating Web Input to File System Calls via CWE-285
CAPEC-127 Directory Indexing via CWE-285
CAPEC-402 Bypassing ATA Password Security via CWE-285
CAPEC-647 Collect Data from Registries via CWE-285
CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs via CWE-285
CAPEC-17 Using Malicious Files via CWE-285
CAPEC-39 Manipulating Opaque Client-based Data Tokens via CWE-285
CAPEC-77 Manipulating User-Controlled Variables via CWE-285
CAPEC-87 Forceful Browsing via CWE-285
CAPEC-104 Cross Zone Scripting via CWE-285
CAPEC-668 Key Negotiation of Bluetooth Attack (KNOB) via CWE-285
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in Next.js versions 1.11.4 through 12.3.4, 13.5.8, 14.2.24, and 15.2.2 allows unauthorized users to bypass authorization checks if these checks are implemented in middleware.
An attacker can exploit this vulnerability by sending specially crafted requests to the application, potentially bypassing intended authorization mechanisms and gaining unauthorized access to protected resources.
Questions
What is CVE-2025-29927?
A vulnerability in Next.js versions 1.11.4 through 12.3.4, 13.5.8, 14.2.24, and 15.2.2 allows unauthorized users to bypass authorization checks if these checks are implemented in middleware.
What is the CVSS score for CVE-2025-29927?
CVE-2025-29927 has CVSS 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N. EPSS: 75.3%.
Is CVE-2025-29927 actively exploited?
Public exploit available for CVE-2025-29927. Exploitation risk elevated.
How do I remediate CVE-2025-29927?
Priority: IMMEDIATE. PSIRT: [email protected]
What systems are affected by CVE-2025-29927?
CVE-2025-29927 affects Vercel Next.Js.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Vercel","product":"Next.Js","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.