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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| 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 |
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.
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.
Condiciones y alcance
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde 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 |
12.3.513.5.914.2.2515.2.315.2.9Arsenal público
Ver los 133 repositorios de GitHub (1 con exploit confirmado)
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.
https://github.com/vercel/next.js/security/advisories/GHSA-f82v-jwr5-mffwhttp://www.openwall.com/lists/oss-security/2025/03/23/3http://www.openwall.com/lists/oss-security/2025/03/23/4https://www.exploit-db.com/exploits/52124https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/http/nextjs_middleware_auth_bypass.rbhttps://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-29927.yamlhttps://github.com/0xPThree/next.js_cve-2025-29927https://github.com/0xPb1/Next.js-CVE-2025-29927https://github.com/0xWhoknows/CVE-2025-29927https://github.com/0xb1lal/CVE-2025-29927https://github.com/0xcucumbersalad/cve-2025-29927https://github.com/0xnxt1me/CVE-2025-29927Ver 132 referencias más
https://github.com/6mile/nextjs-CVE-2025-29927https://github.com/Ademking/CVE-2025-29927https://github.com/AnonKryptiQuz/NextSploithttps://github.com/Balajih4kr/cve-2025-29927https://github.com/Bongni/CVE-2025-29927https://github.com/DanielHallbro/CVE-2025-29927-Nextjs-Bypass-PoChttps://github.com/EQSTLab/CVE-2025-29927https://github.com/EarthAngel666/x-middleware-exploithttps://github.com/Ev3rPalestine/0xMiddlewarehttps://github.com/Eve-SatOrU/POC-CVE-2025-29927https://github.com/Fomovet/cve-2025-29927https://github.com/Ghost-Bx1/cve-2025-29927-nextjs-middleware-bypasshttps://github.com/Gokul-Krishnan-V-R/cve-2025-29927https://github.com/Grand-Moomin/Vuln-Next.js-CVE-2025-29927https://github.com/Heimd411/CVE-2025-29927-PoChttps://github.com/Hirainsingadia/CVE-2025-29927https://github.com/HoumanPashaei/CVE-2025-29927https://github.com/JOOJIII/CVE-2025-29927https://github.com/Kamal-418/Vulnerable-Lab-NextJS-CVE-2025-29927https://github.com/Knotsecurity/CVE-2025-29927-NextJs-Middleware-Simulationhttps://github.com/MKIRAHMET/CVE-2025-29927-PoChttps://github.com/MuhammadWaseem29/CVE-2025-29927-POChttps://github.com/NS-Projects-Unina/CTF_CVE_DSP_1https://github.com/Naveen-005/Next.Js-middleware-bypass-vulnerability-CVE-2025-29927https://github.com/Nayekah/Next.js-Proof-of-Concepthttps://github.com/Nekicj/CVE-2025-29927-exploithttps://github.com/Oyst3r1ng/CVE-2025-29927https://github.com/R3verseIN/Nextjs-middleware-vulnerable-appdemo-CVE-2025-29927https://github.com/Ritinify/CVE-2025-29927-PoChttps://github.com/RoyCampos/CVE-2025-29927https://github.com/Si-Ni/CVE-2025-29927-Proof-of-Concepthttps://github.com/SugiB3o/vulnerable-nextjs-14-CVE-2025-29927https://github.com/SwapnilDeshpande/cve-2025-29927-labhttps://github.com/TheWaterbug/alpr-dashboard-patcheshttps://github.com/TheresAFewConors/CVE-2025-29927-Testinghttps://github.com/Toddkk02/CVE-2025-29927https://github.com/UNICORDev/exploit-CVE-2025-29927https://github.com/ValGrace/middleware-auth-bypasshttps://github.com/YEONDG/nextjs-cve-2025-29927https://github.com/adjscent/vulnerable-nextjs-14-CVE-2025-29927https://github.com/alastair66/CVE-2025-29927https://github.com/aleongx/CVE-2025-29927https://github.com/aleongx/CVE-2025-29927_Scannerhttps://github.com/alihussainzada/CVE-2025-29927-PoChttps://github.com/alinaclark672377250/CVE-2025-29927-POChttps://github.com/all3njk/NextJS_CVE-2025-29927https://github.com/amalpvatayam67/day10-nextjs-middleware-labhttps://github.com/amitlttwo/Next.JS-CVE-2025-29927https://github.com/arvion-agent/next-CVE-2025-29927https://github.com/axisops/CVE-2025-29927https://github.com/ayato-shitomi/WebLab_CVE-2025-29927https://github.com/aydinnyunus/CVE-2025-29927https://github.com/azu/nextjs-cve-2025-29927-pochttps://github.com/b4sh0xf/PoC-CVE-2025-29927https://github.com/berraesen/nextjs-middleware-auth-bypass-labhttps://github.com/bk-security/auth-header-trust-ruleshttps://github.com/c0dejump/CVE-2025-29927-checkhttps://github.com/dante01yoon/CVE-2025-29927https://github.com/darklotuskdb/nextjs-CVE-2025-29927-hunterhttps://github.com/dedibagus/cve-2025-29927-pochttps://github.com/dexteon/nextjs-middleware-auth-bypass-cve-2025-29927https://github.com/diogolourencodev/middleforcehttps://github.com/elkhaoudari/CVE-2025-29927-Pythonhttps://github.com/elshaheedy/CVE-2025-29927-Sigma-Rulehttps://github.com/emadshanab/CVE-2025-29927https://github.com/enochgitgamefied/NextJS-CVE-2025-29927https://github.com/enochgitgamefied/NextJS-CVE-2025-29927-Docker-Labhttps://github.com/ethanol1310/POC-CVE-2025-29927-https://github.com/fahimalshihab/NextBypasshttps://github.com/ferpalma21/nextjs-scannerhttps://github.com/fourcube/nextjs-middleware-bypass-demohttps://github.com/furmak331/CVE-2025-29927https://github.com/gadaugherty/larkspur-billinghttps://github.com/gitgudKrish/cve-2025-29927-nextjshttps://github.com/goheesheng/sc3010https://github.com/gotr00t0day/CVE-2025-29927https://github.com/hujiaozhuzhu/CVE-2025-29927__Next.jshttps://github.com/iSee857/CVE-2025-29927https://github.com/iteride/CVE-2025-29927https://github.com/jeymo092/cve-2025-29927https://github.com/jmbowes/NextSecureScanhttps://github.com/kOaDT/poc-cve-2025-29927https://github.com/kazuya256/next-js-auth-bypasshttps://github.com/kh4sh3i/CVE-2025-29927https://github.com/kuyrathdaro/cve-2025-29927https://github.com/kuzushiki/CVE-2025-29927-testhttps://github.com/l1uk/nextjs-middleware-exploithttps://github.com/lem0n817/CVE-2025-29927https://github.com/liamromanis101/CVE-2025-29927-NextJShttps://github.com/lirantal/vulnerable-nextjs-14-CVE-2025-29927https://github.com/lstudlo/nextjs-cve-demohttps://github.com/lucaschanzx/CVE-2025-29927-PoChttps://github.com/m2hcz/PoC-for-Next.js-Middlewarehttps://github.com/maronnjapan/claude-create-CVE-2025-29927https://github.com/mcpmark-eval-liuhezi/cve-2025-29927-audithttps://github.com/metasploit403/cve-2025-29927-labhttps://github.com/mhamzakhattak/CVE-2025-29927https://github.com/mickhacking/Thank-u-Nexthttps://github.com/moften/CVE-2025-29927_Next.js_Auth_Bypasshttps://github.com/nicknisi/next-attackhttps://github.com/nocomp/CVE-2025-29927-scannerhttps://github.com/olimpiofreitas/CVE-2025-29927-scannerhttps://github.com/phoscoder/ghost-routehttps://github.com/pickovven/vulnerable-nextjs-14-CVE-2025-29927https://github.com/pixilated730/NextJS-Exploit-https://github.com/pouriam23/Next.js-Middleware-Bypass-CVE-2025-29927-https://github.com/rgvillanueva28/vulnbox-easy-CVE-2025-29927https://github.com/ricsirigu/CVE-2025-29927https://github.com/rubbxalc/CVE-2025-29927https://github.com/s11s11/CVE-2025-29927https://github.com/sagsooz/CVE-2025-29927https://github.com/sangrok-jeon/CVE-2025-29927-Nextjs-Analysishttps://github.com/sdrtba/CVE-2025-29927https://github.com/serhalp/test-cve-2025-29927https://github.com/sermikr0/nextjs-middleware-auth-bypasshttps://github.com/shahin-shadow/nextjs-auth-bypasshttps://github.com/sodiptabadiabanurea/ntu-se6013-nextjs-auth-bypasshttps://github.com/strobes-security/nextjs-vulnerable-apphttps://github.com/sungue1/CVE-2025-29927https://github.com/t3tra-dev/cve-2025-29927-demohttps://github.com/ticofookfook/poc-nextjs-CVE-2025-29927https://github.com/vulnace/CVE-2025-29927https://github.com/w2hcorp/CVE-2025-29927-PoChttps://github.com/websecnl/CVE-2025-29927-PoC-Exploithttps://github.com/yugo-eliatrope/test-cve-2025-29927https://github.com/yuzu-juice/CVE-2025-29927_demohttps://github.com/zs1n/CVE-2025-29927https://github.com/vercel/next.js/commit/52a078da3884efe6501613c7834a3d02a91676d2https://github.com/vercel/next.js/commit/5fd3ae8f8542677c6294f32d18022731eab6fe48https://github.com/vercel/next.js/releases/tag/v12.3.5https://github.com/vercel/next.js/releases/tag/v13.5.9https://security.netapp.com/advisory/ntap-20250328-0002/Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
