llamaCVEVulnerability Intelligence
/
Next.js

CVE-2025-29927

Next.js authorization bypass in middleware

A remote attacker with no login can skip authorization checks in middleware and reach protected pages.

Crítica · CVSS alto en tecnología listada, EPSS ≥ 10 %UnclearParche disponibleauthorization bypass
Descargar PNG JSON
CVSS 3.1
9.1
Crítica
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N Fuente: CNA
ExplotaciónExploit públicoSSVC de CISA-ADP decía «ninguna» · ajustado por exploit detectado
Exploits públicos1364 fuentes · 1 confirmado en GitHub
Parche5 versionesPrimer parche a 311 d de la divulgación
Exposición609 dDesde la divulgación, 21 mar 2025, 9:34 a. m.
EPSS ≥ 10 %2 nov 2026Fecha en que la probabilidad de explotación superó el umbral
Decisión SSVC · ajustadaAtender
Priorizar en el próximo ciclo de cambios
Exploit público disponible (136), automatizable e impacto técnico total. Decisión recalculada: la evaluación SSVC original indicaba explotación «ninguna». Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Exploit-DB
Umbral EPSS
Exploit en GitHub
Remediación
Parche 15.2.9
Monitoreo
Detectada
Verificada
21 mar 25
5 abr 25
8 abr 25
26 ene 26
2 nov 26
3 nov 26
14 nov 26
18 nov 26
21 nov 26
21 mar 25
21 ago 25
20 ene 26
21 jun 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2025-29927 divulgada · CVSS 9.1 (CNA)
Explotación Exploit-DB 1 exploit público
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Remediación Parche 15.2.9 next · 311 d desde divulgación
Explotación Umbral EPSS La probabilidad de explotación supera el 10 %
Monitoreo Detectada Ingresó al índice
Explotación Exploit en GitHub alinaclark672377250/CVE-2025-29927-POC
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 13 nov 2026

Next.js, the React web application framework from Vercel, has a flaw that lets an attacker bypass authorization checks that are performed in middleware. The attacker can exploit it remotely without logging in, and public exploit code is available, including a Metasploit module.

Affects Next.js apps that do authorization checks in middleware, in versions from 11.1.4 up to 12.3.5, 13.0.0 up to 13.5.9, 14.0.0 up to 14.2.25, and 15.0.0 up to 15.2.3. Fixed in 12.3.5, 13.5.9, 14.2.25 and 15.2.3.

¿Qué significa?A flaw in Next.js lets authorization checks performed in middleware be bypassed. If an application relies on middleware alone for auth or security checks, those checks may not be enforced.
¿Quién está afectado?Affected ranges are Next.js 11.1.4 up to 12.3.5, 13.0.0 up to 13.5.9, 14.0.0 up to 14.2.25, and 15.0.0 up to 15.2.3. The issue matters where authorization or security checks occur in middleware and are not validated later in the application. Check the installed next version (for example in package.json or with npm ls next) and review whether middleware is used for auth checks.
¿Qué hacer?Upgrade to a fixed version: 12.3.5, 13.5.9, 14.2.25 or 15.2.3, matching the release line in use. The facts given do not list a workaround.
Descripción original del registro (GitHub_M)

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.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
The application does its authorization check in Next.js middleware“It is possible to bypass authorization checks within a Next.js application, if the authorization check occurs in middleware.”
02
Auth or security checks rely on Middleware and are not validated later in the application“This affects you if you rely on Middleware for auth or security checks,”
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
10.0/ 10Muy alto
Vector 10.0 (muy fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida Última
next.js≥ 11.1.4 < 12.3.5
next≥ 12.0.0 < 12.3.5
next.js · next≥ 13.0.0 < 13.5.9
next.js · next≥ 14.0.0 < 14.2.25
next.js · next≥ 15.0.0 < 15.2.3
11.1.4
12.0.0
12.3.5
13.0.0
13.5.9
14.0.0
14.2.25
15.0.0
15.2.3
16.4.6
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npmnext
Corregida 12.3.5, 13.5.9, 14.2.25, 15.2.9 311 d 16.4.6 no afectada
Versiones corregidas12.3.513.5.914.2.2515.2.315.2.9
Explotación

Arsenal público

Exploit-DB
EDB-52124
1
Metasploit
modules/auxiliary/scanner/http/nextjs_middleware_auth_bypass.rb
1
Nuclei
http/cves/2025/CVE-2025-29927.yaml
1
PoC en GitHub
0xPThree/next.js_cve-2025-29927 · 0xPb1/Next.js-CVE-2025-29927 · 0xWhoknows/CVE-2025-29927 · 0xb1lal/CVE-2025-29927 · 0xcucumbersalad/cve-2025-29927 · 0xnxt1me/CVE-2025-29927 …
133
Ver los 133 repositorios de GitHub (1 con exploit confirmado)
0xPThree/next.js_cve-2025-29927
0xPb1/Next.js-CVE-2025-29927
0xWhoknows/CVE-2025-29927
0xb1lal/CVE-2025-29927
0xcucumbersalad/cve-2025-29927
0xnxt1me/CVE-2025-29927
6mile/nextjs-CVE-2025-29927
Ademking/CVE-2025-29927
AnonKryptiQuz/NextSploit
Balajih4kr/cve-2025-29927
Bongni/CVE-2025-29927
DanielHallbro/CVE-2025-29927-Nextjs-Bypass-PoC
EQSTLab/CVE-2025-29927
EarthAngel666/x-middleware-exploit
Ev3rPalestine/0xMiddleware
Eve-SatOrU/POC-CVE-2025-29927
Fomovet/cve-2025-29927
Ghost-Bx1/cve-2025-29927-nextjs-middleware-bypass
Gokul-Krishnan-V-R/cve-2025-29927
Grand-Moomin/Vuln-Next.js-CVE-2025-29927
Heimd411/CVE-2025-29927-PoC
Hirainsingadia/CVE-2025-29927
HoumanPashaei/CVE-2025-29927
JOOJIII/CVE-2025-29927
Kamal-418/Vulnerable-Lab-NextJS-CVE-2025-29927
Knotsecurity/CVE-2025-29927-NextJs-Middleware-Simulation
MKIRAHMET/CVE-2025-29927-PoC
MuhammadWaseem29/CVE-2025-29927-POC
NS-Projects-Unina/CTF_CVE_DSP_1
Naveen-005/Next.Js-middleware-bypass-vulnerability-CVE-2025-29927
Nayekah/Next.js-Proof-of-Concept
Nekicj/CVE-2025-29927-exploit
Oyst3r1ng/CVE-2025-29927
R3verseIN/Nextjs-middleware-vulnerable-appdemo-CVE-2025-29927
Ritinify/CVE-2025-29927-PoC
RoyCampos/CVE-2025-29927
Si-Ni/CVE-2025-29927-Proof-of-Concept
SugiB3o/vulnerable-nextjs-14-CVE-2025-29927
SwapnilDeshpande/cve-2025-29927-lab
TheWaterbug/alpr-dashboard-patches
TheresAFewConors/CVE-2025-29927-Testing
Toddkk02/CVE-2025-29927
UNICORDev/exploit-CVE-2025-29927
ValGrace/middleware-auth-bypass
YEONDG/nextjs-cve-2025-29927
adjscent/vulnerable-nextjs-14-CVE-2025-29927
alastair66/CVE-2025-29927
aleongx/CVE-2025-29927
aleongx/CVE-2025-29927_Scanner
alihussainzada/CVE-2025-29927-PoC
alinaclark672377250/CVE-2025-29927-POCexploit
all3njk/NextJS_CVE-2025-29927
amalpvatayam67/day10-nextjs-middleware-lab
amitlttwo/Next.JS-CVE-2025-29927
arvion-agent/next-CVE-2025-29927
axisops/CVE-2025-29927
ayato-shitomi/WebLab_CVE-2025-29927
aydinnyunus/CVE-2025-29927
azu/nextjs-cve-2025-29927-poc
b4sh0xf/PoC-CVE-2025-29927
berraesen/nextjs-middleware-auth-bypass-lab
bk-security/auth-header-trust-rules
c0dejump/CVE-2025-29927-check
dante01yoon/CVE-2025-29927
darklotuskdb/nextjs-CVE-2025-29927-hunter
dedibagus/cve-2025-29927-poc
dexteon/nextjs-middleware-auth-bypass-cve-2025-29927
diogolourencodev/middleforce
elkhaoudari/CVE-2025-29927-Python
elshaheedy/CVE-2025-29927-Sigma-Rule
emadshanab/CVE-2025-29927
enochgitgamefied/NextJS-CVE-2025-29927
enochgitgamefied/NextJS-CVE-2025-29927-Docker-Lab
ethanol1310/POC-CVE-2025-29927-
fahimalshihab/NextBypass
ferpalma21/nextjs-scanner
fourcube/nextjs-middleware-bypass-demo
furmak331/CVE-2025-29927
gadaugherty/larkspur-billing
gitgudKrish/cve-2025-29927-nextjs
goheesheng/sc3010
gotr00t0day/CVE-2025-29927
hujiaozhuzhu/CVE-2025-29927__Next.js
iSee857/CVE-2025-29927
iteride/CVE-2025-29927
jeymo092/cve-2025-29927
jmbowes/NextSecureScan
kOaDT/poc-cve-2025-29927
kazuya256/next-js-auth-bypass
kh4sh3i/CVE-2025-29927
kuyrathdaro/cve-2025-29927
kuzushiki/CVE-2025-29927-test
l1uk/nextjs-middleware-exploit
lem0n817/CVE-2025-29927
liamromanis101/CVE-2025-29927-NextJS
lirantal/vulnerable-nextjs-14-CVE-2025-29927
lstudlo/nextjs-cve-demo
lucaschanzx/CVE-2025-29927-PoC
m2hcz/PoC-for-Next.js-Middleware
maronnjapan/claude-create-CVE-2025-29927
mcpmark-eval-liuhezi/cve-2025-29927-audit
metasploit403/cve-2025-29927-lab
mhamzakhattak/CVE-2025-29927
mickhacking/Thank-u-Next
moften/CVE-2025-29927_Next.js_Auth_Bypass
nicknisi/next-attack
nocomp/CVE-2025-29927-scanner
olimpiofreitas/CVE-2025-29927-scanner
phoscoder/ghost-route
pickovven/vulnerable-nextjs-14-CVE-2025-29927
pixilated730/NextJS-Exploit-
pouriam23/Next.js-Middleware-Bypass-CVE-2025-29927-
rgvillanueva28/vulnbox-easy-CVE-2025-29927
ricsirigu/CVE-2025-29927
rubbxalc/CVE-2025-29927
s11s11/CVE-2025-29927
sagsooz/CVE-2025-29927
sangrok-jeon/CVE-2025-29927-Nextjs-Analysis
sdrtba/CVE-2025-29927
serhalp/test-cve-2025-29927
sermikr0/nextjs-middleware-auth-bypass
shahin-shadow/nextjs-auth-bypass
sodiptabadiabanurea/ntu-se6013-nextjs-auth-bypass
strobes-security/nextjs-vulnerable-app
sungue1/CVE-2025-29927
t3tra-dev/cve-2025-29927-demo
ticofookfook/poc-nextjs-CVE-2025-29927
vulnace/CVE-2025-29927
w2hcorp/CVE-2025-29927-PoC
websecnl/CVE-2025-29927-PoC-Exploit
yugo-eliatrope/test-cve-2025-29927
yuzu-juice/CVE-2025-29927_demo
zs1n/CVE-2025-29927

Los repositorios públicos incluyen exploits, escáneres, laboratorios y reglas de detección. No ejecute código de terceros sin revisarlo en un entorno aislado.

Referencias
Fabricantehttps://github.com/vercel/next.js/security/advisories/GHSA-f82v-jwr5-mffw
Análisishttp://www.openwall.com/lists/oss-security/2025/03/23/3
Análisishttp://www.openwall.com/lists/oss-security/2025/03/23/4
Exploithttps://www.exploit-db.com/exploits/52124
Exploithttps://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/http/nextjs_middleware_auth_bypass.rb
Exploithttps://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-29927.yaml
Exploithttps://github.com/0xPThree/next.js_cve-2025-29927
Exploithttps://github.com/0xPb1/Next.js-CVE-2025-29927
Exploithttps://github.com/0xWhoknows/CVE-2025-29927
Exploithttps://github.com/0xb1lal/CVE-2025-29927
Exploithttps://github.com/0xcucumbersalad/cve-2025-29927
Exploithttps://github.com/0xnxt1me/CVE-2025-29927
Ver 132 referencias más
Exploithttps://github.com/6mile/nextjs-CVE-2025-29927
Exploithttps://github.com/Ademking/CVE-2025-29927
Exploithttps://github.com/AnonKryptiQuz/NextSploit
Exploithttps://github.com/Balajih4kr/cve-2025-29927
Exploithttps://github.com/Bongni/CVE-2025-29927
Exploithttps://github.com/DanielHallbro/CVE-2025-29927-Nextjs-Bypass-PoC
Exploithttps://github.com/EQSTLab/CVE-2025-29927
Exploithttps://github.com/EarthAngel666/x-middleware-exploit
Exploithttps://github.com/Ev3rPalestine/0xMiddleware
Exploithttps://github.com/Eve-SatOrU/POC-CVE-2025-29927
Exploithttps://github.com/Fomovet/cve-2025-29927
Exploithttps://github.com/Ghost-Bx1/cve-2025-29927-nextjs-middleware-bypass
Exploithttps://github.com/Gokul-Krishnan-V-R/cve-2025-29927
Exploithttps://github.com/Grand-Moomin/Vuln-Next.js-CVE-2025-29927
Exploithttps://github.com/Heimd411/CVE-2025-29927-PoC
Exploithttps://github.com/Hirainsingadia/CVE-2025-29927
Exploithttps://github.com/HoumanPashaei/CVE-2025-29927
Exploithttps://github.com/JOOJIII/CVE-2025-29927
Exploithttps://github.com/Kamal-418/Vulnerable-Lab-NextJS-CVE-2025-29927
Exploithttps://github.com/Knotsecurity/CVE-2025-29927-NextJs-Middleware-Simulation
Exploithttps://github.com/MKIRAHMET/CVE-2025-29927-PoC
Exploithttps://github.com/MuhammadWaseem29/CVE-2025-29927-POC
Exploithttps://github.com/NS-Projects-Unina/CTF_CVE_DSP_1
Exploithttps://github.com/Naveen-005/Next.Js-middleware-bypass-vulnerability-CVE-2025-29927
Exploithttps://github.com/Nayekah/Next.js-Proof-of-Concept
Exploithttps://github.com/Nekicj/CVE-2025-29927-exploit
Exploithttps://github.com/Oyst3r1ng/CVE-2025-29927
Exploithttps://github.com/R3verseIN/Nextjs-middleware-vulnerable-appdemo-CVE-2025-29927
Exploithttps://github.com/Ritinify/CVE-2025-29927-PoC
Exploithttps://github.com/RoyCampos/CVE-2025-29927
Exploithttps://github.com/Si-Ni/CVE-2025-29927-Proof-of-Concept
Exploithttps://github.com/SugiB3o/vulnerable-nextjs-14-CVE-2025-29927
Exploithttps://github.com/SwapnilDeshpande/cve-2025-29927-lab
Exploithttps://github.com/TheWaterbug/alpr-dashboard-patches
Exploithttps://github.com/TheresAFewConors/CVE-2025-29927-Testing
Exploithttps://github.com/Toddkk02/CVE-2025-29927
Exploithttps://github.com/UNICORDev/exploit-CVE-2025-29927
Exploithttps://github.com/ValGrace/middleware-auth-bypass
Exploithttps://github.com/YEONDG/nextjs-cve-2025-29927
Exploithttps://github.com/adjscent/vulnerable-nextjs-14-CVE-2025-29927
Exploithttps://github.com/alastair66/CVE-2025-29927
Exploithttps://github.com/aleongx/CVE-2025-29927
Exploithttps://github.com/aleongx/CVE-2025-29927_Scanner
Exploithttps://github.com/alihussainzada/CVE-2025-29927-PoC
Exploithttps://github.com/alinaclark672377250/CVE-2025-29927-POC
Exploithttps://github.com/all3njk/NextJS_CVE-2025-29927
Exploithttps://github.com/amalpvatayam67/day10-nextjs-middleware-lab
Exploithttps://github.com/amitlttwo/Next.JS-CVE-2025-29927
Exploithttps://github.com/arvion-agent/next-CVE-2025-29927
Exploithttps://github.com/axisops/CVE-2025-29927
Exploithttps://github.com/ayato-shitomi/WebLab_CVE-2025-29927
Exploithttps://github.com/aydinnyunus/CVE-2025-29927
Exploithttps://github.com/azu/nextjs-cve-2025-29927-poc
Exploithttps://github.com/b4sh0xf/PoC-CVE-2025-29927
Exploithttps://github.com/berraesen/nextjs-middleware-auth-bypass-lab
Exploithttps://github.com/bk-security/auth-header-trust-rules
Exploithttps://github.com/c0dejump/CVE-2025-29927-check
Exploithttps://github.com/dante01yoon/CVE-2025-29927
Exploithttps://github.com/darklotuskdb/nextjs-CVE-2025-29927-hunter
Exploithttps://github.com/dedibagus/cve-2025-29927-poc
Exploithttps://github.com/dexteon/nextjs-middleware-auth-bypass-cve-2025-29927
Exploithttps://github.com/diogolourencodev/middleforce
Exploithttps://github.com/elkhaoudari/CVE-2025-29927-Python
Exploithttps://github.com/elshaheedy/CVE-2025-29927-Sigma-Rule
Exploithttps://github.com/emadshanab/CVE-2025-29927
Exploithttps://github.com/enochgitgamefied/NextJS-CVE-2025-29927
Exploithttps://github.com/enochgitgamefied/NextJS-CVE-2025-29927-Docker-Lab
Exploithttps://github.com/ethanol1310/POC-CVE-2025-29927-
Exploithttps://github.com/fahimalshihab/NextBypass
Exploithttps://github.com/ferpalma21/nextjs-scanner
Exploithttps://github.com/fourcube/nextjs-middleware-bypass-demo
Exploithttps://github.com/furmak331/CVE-2025-29927
Exploithttps://github.com/gadaugherty/larkspur-billing
Exploithttps://github.com/gitgudKrish/cve-2025-29927-nextjs
Exploithttps://github.com/goheesheng/sc3010
Exploithttps://github.com/gotr00t0day/CVE-2025-29927
Exploithttps://github.com/hujiaozhuzhu/CVE-2025-29927__Next.js
Exploithttps://github.com/iSee857/CVE-2025-29927
Exploithttps://github.com/iteride/CVE-2025-29927
Exploithttps://github.com/jeymo092/cve-2025-29927
Exploithttps://github.com/jmbowes/NextSecureScan
Exploithttps://github.com/kOaDT/poc-cve-2025-29927
Exploithttps://github.com/kazuya256/next-js-auth-bypass
Exploithttps://github.com/kh4sh3i/CVE-2025-29927
Exploithttps://github.com/kuyrathdaro/cve-2025-29927
Exploithttps://github.com/kuzushiki/CVE-2025-29927-test
Exploithttps://github.com/l1uk/nextjs-middleware-exploit
Exploithttps://github.com/lem0n817/CVE-2025-29927
Exploithttps://github.com/liamromanis101/CVE-2025-29927-NextJS
Exploithttps://github.com/lirantal/vulnerable-nextjs-14-CVE-2025-29927
Exploithttps://github.com/lstudlo/nextjs-cve-demo
Exploithttps://github.com/lucaschanzx/CVE-2025-29927-PoC
Exploithttps://github.com/m2hcz/PoC-for-Next.js-Middleware
Exploithttps://github.com/maronnjapan/claude-create-CVE-2025-29927
Exploithttps://github.com/mcpmark-eval-liuhezi/cve-2025-29927-audit
Exploithttps://github.com/metasploit403/cve-2025-29927-lab
Exploithttps://github.com/mhamzakhattak/CVE-2025-29927
Exploithttps://github.com/mickhacking/Thank-u-Next
Exploithttps://github.com/moften/CVE-2025-29927_Next.js_Auth_Bypass
Exploithttps://github.com/nicknisi/next-attack
Exploithttps://github.com/nocomp/CVE-2025-29927-scanner
Exploithttps://github.com/olimpiofreitas/CVE-2025-29927-scanner
Exploithttps://github.com/phoscoder/ghost-route
Exploithttps://github.com/pickovven/vulnerable-nextjs-14-CVE-2025-29927
Exploithttps://github.com/pixilated730/NextJS-Exploit-
Exploithttps://github.com/pouriam23/Next.js-Middleware-Bypass-CVE-2025-29927-
Exploithttps://github.com/rgvillanueva28/vulnbox-easy-CVE-2025-29927
Exploithttps://github.com/ricsirigu/CVE-2025-29927
Exploithttps://github.com/rubbxalc/CVE-2025-29927
Exploithttps://github.com/s11s11/CVE-2025-29927
Exploithttps://github.com/sagsooz/CVE-2025-29927
Exploithttps://github.com/sangrok-jeon/CVE-2025-29927-Nextjs-Analysis
Exploithttps://github.com/sdrtba/CVE-2025-29927
Exploithttps://github.com/serhalp/test-cve-2025-29927
Exploithttps://github.com/sermikr0/nextjs-middleware-auth-bypass
Exploithttps://github.com/shahin-shadow/nextjs-auth-bypass
Exploithttps://github.com/sodiptabadiabanurea/ntu-se6013-nextjs-auth-bypass
Exploithttps://github.com/strobes-security/nextjs-vulnerable-app
Exploithttps://github.com/sungue1/CVE-2025-29927
Exploithttps://github.com/t3tra-dev/cve-2025-29927-demo
Exploithttps://github.com/ticofookfook/poc-nextjs-CVE-2025-29927
Exploithttps://github.com/vulnace/CVE-2025-29927
Exploithttps://github.com/w2hcorp/CVE-2025-29927-PoC
Exploithttps://github.com/websecnl/CVE-2025-29927-PoC-Exploit
Exploithttps://github.com/yugo-eliatrope/test-cve-2025-29927
Exploithttps://github.com/yuzu-juice/CVE-2025-29927_demo
Exploithttps://github.com/zs1n/CVE-2025-29927
Otrahttps://github.com/vercel/next.js/commit/52a078da3884efe6501613c7834a3d02a91676d2
Otrahttps://github.com/vercel/next.js/commit/5fd3ae8f8542677c6294f32d18022731eab6fe48
Otrahttps://github.com/vercel/next.js/releases/tag/v12.3.5
Otrahttps://github.com/vercel/next.js/releases/tag/v13.5.9
Otrahttps://security.netapp.com/advisory/ntap-20250328-0002/

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.