CVE-2024-51479: fallo de gravedad alta en vercel next.js
Authorization bypass in Next.js
Publicada el
Aviso por correo cuando entre en el KEV, tenga PoC pública o suba de nota.
21Vexday Risk Score
Sin señal de explotación. Ningún artefacto público de explotación conocido hasta ahora.
ssvc Trackcvss 7.5epss 4.0%
En resumen
Aplicaciones Next.js que usan middleware para autorización pueden ser burladas en páginas en la raíz del sitio (como /foo), permitiendo acceso no autorizado al contenido protegido.
Detalle técnico
Vulnerabilidad de desvío de autorización en middleware de Next.js donde la validación de ruta es insuficiente para rutas de un solo nivel en el directorio raíz. El vector de ataque es solicitud HTTP directa a las rutas afectadas; la corrección requiere actualizar a Next.js 14.2.15 o posterior.
Resumen generado y traducido por IA a partir de la descripción oficial.
Next.js is a React framework for building full-stack web applications. In affected versions if a Next.js application is performing authorization in middleware based on pathname, it was possible for this authorization to be bypassed for pages directly under the application's root directory. For example: * [Not affected] `https://example.com/` * [Affected] `https://example.com/foo` * [Not affected] `https://example.com/foo/bar`. This issue is patched in Next.js `14.2.15` and later. If your Next.js application is hosted on Vercel, this vulnerability has been automatically mitigated, regardless of Next.js version. There are no official workarounds for this vulnerability.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Productos afectados
vercel · next.jsCVEs relacionadas — vercel next.js
En el mismo producto, de las más peligrosas a las menos.
CVE-2025-29927CRITICALAuthorization Bypass in Next.js MiddlewareEPSS 99.2%CVE-2024-46982HIGHCache Poisoning in next.jsEPSS 59.2%CVE-2021-43803HIGHUnexpected server crash in Next.jsEPSS 47.3%CVE-2026-44578HIGHNext.js: Server-side request forgery in applications using WebSocket upgradesEPSS 35.5%CVE-2024-34351HIGHNext.js Server-Side Request Forgery in Server ActionsEPSS 5.5%CVE-2025-57822MEDIUMNext.js Improper Middleware Redirect Handling Leads to SSRFEPSS 2.6%