Security Resilience

CVE-2025-29927

Access Control in Vercel Next.Js 11.1.4 – 12.3.5

Published
21 March 2025
Modified
10 September 2025
Patch / advisory
CVSS Score v3.1 9.1
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS Score 0.99 99.9th percentile
Risk Priority 93 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-29927 is a critical-severity Improper Authorization (CWE-285) vulnerability in Vercel Next.Js. Its CVSS base score is 9.1 (Critical).

Operationally, ranked in the top 0.1% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-24 (Access Control Decisions) and AC-25 (Reference Monitor) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

Next.js, the React framework for full-stack web applications, contains an authorization bypass vulnerability in its middleware handling. The flaw affects all versions from 1.11.4 through 12.3.4, 13.5.8, 14.2.24, and 15.2.2, allowing requests to circumvent checks that would otherwise enforce access control when those checks are implemented inside middleware. The issue is tracked under CWE-285 and CWE-863 and carries a CVSS 9.1 rating reflecting network-exploitable impacts to confidentiality and integrity.

An unauthenticated remote attacker can exploit the weakness by supplying the x-middleware-subrequest header in an HTTP request, causing the middleware authorization logic to be skipped and granting access to resources or functionality that should have been protected. Because the bypass occurs before application-level controls run, the attacker can reach any endpoints whose security depended on middleware enforcement.

Official advisories and patches direct administrators to upgrade immediately to 12.3.5, 13.5.9, 14.2.25, or 15.2.3. When patching is not feasible, the recommended workaround is to block any external requests that contain the x-middleware-subrequest header before they reach the Next.js application; the referenced GitHub commits and security advisory GHSA-f82v-jwr5-mffw contain the precise changes and release artifacts.

The EPSS score currently stands at 0.9212 with a recorded peak of 0.9324, indicating sustained and substantial exploitation interest since disclosure.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

CVEs Like This One

CVE-2024-51479Same product: Vercel Next.Js
CVE-2026-64642Same product: Vercel Next.Js
CVE-2026-44573Same product: Vercel Next.Js
CVE-2024-48901Shared CWE-285, CWE-863
CVE-2026-33105Shared CWE-285, CWE-863
CVE-2023-1164Shared CWE-285, CWE-863
CVE-2023-21424Shared CWE-285, CWE-863
CVE-2026-86009Shared CWE-285, CWE-863
CVE-2023-2534Shared CWE-285, CWE-863
CVE-2025-29827Shared CWE-285, CWE-863

Affected Assets

vercel
next.js
11.1.4 — 12.3.5 · 13.0.0 — 13.5.9 · 14.0.0 — 14.2.25

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Mandates that access-control decisions are made and applied to each request before access occurs.

Requires a tamperproof, always-invoked reference monitor that performs authorization checks.

Directly requires enforcement of approved authorizations for every access request, stopping improper or missing checks.

Limits granted privileges so that even a bypassed check affects fewer resources.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

blocks

A.8.3's access restriction mechanisms — configuration controls, per-identity permissions, dynamic access management with authentication requirements — block most exploitation of missing or incorrect authorization checks at the system and configuration layer even when the application code itself has CWE-285; the remainder is application-level authorization flaws whose specific code paths are not fully covered by the system-level access controls A.8.3 mandates.

finds

Independent reviewers evaluate whether authorization logic matches policy, thereby reducing the window in which incorrect or missing authorization checks remain in production.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-285, a class-level weakness. Rules are authored against its narrower children: CWE-552.
  • No fine-grained STIG row for CWE-863, a class-level weakness, and none of its children carries one either.

References