Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2025-29927

nextjs: Authorization Bypass in Next.js Middleware

Overview

Published
21 Mar 2025
Modified
17 Jun 2026
Critical CVE
1 Registry packages
2 OS packages
3 Linux distributions
Yes Fix available

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: OX vulnerability database

Severity

9.1 · CRITICAL

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Weakness: CWE-285, CWE-863

Affected packages · 1

Packages affected by CVE-2025-29927
EcosystemPackageVulnerableFixed in
npm next >=13.0.0, <13.5.9>=14.0.0, <14.2.25>=15.0.0, <15.2.3>=12.0.0, <12.3.5 13.5.914.2.2515.2.312.3.5

Open a package to see all its vulnerabilities.

Operating systems · 3 fixes

chainguard 1 release · 1 package

fixed 1
jitsucom-jitsu
chainguard fixes for CVE-2025-29927
ReleasePackageFixed in
jitsucom-jitsu 2.9.0-r0

minimos 1 release · 1 package

fixed 1
trigger-dev
minimos fixes for CVE-2025-29927
ReleasePackageFixed in
trigger-dev 4.5.0-r0

wolfi 1 release · 1 package

fixed 1
jitsucom-jitsu
wolfi fixes for CVE-2025-29927
ReleasePackageFixed in
jitsucom-jitsu 2.9.0-r0

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.