CVE-2025-29927Critical· 9.1▾ AbyssalPoC availableA crafted x-middleware-subrequest header lets an attacker skip Next.js middleware execution entirely, bypassing authentication/authorization checks implemented in middleware.
▾ Abyssal zone — Critical with a public exploit or in-the-wild use
impact 50.1 · likelihood 19.8 · exploitation 12
A public proof-of-concept already exists for this vulnerability — see Exploit availability below.
Public exploit / PoC code seen in 4 sources. Availability, not in-the-wild use.
Exploit-prediction probability, daily snapshots since Jul 9.
Disclosure to exploitation, from the record and what we observed since indexing it.
99%
Exploit-DB · 123 GitHub repos · Metasploit ×1 · Nuclei ×1 (last check)
Next.js uses an internal x-middleware-subrequest header to prevent infinite
middleware recursion. The check could be satisfied by an attacker-supplied value,
causing the framework to skip middleware execution for the request.
Any security control implemented in middleware.ts — auth gates, redirects, header
injection, geo/path restrictions — can be bypassed by sending the header directly.
next start / standalone output. Sites on
Vercel and Netlify were mitigated at the platform edge.GET /admin HTTP/1.1
Host: target.example
x-middleware-subrequest: middleware:middleware:middleware:middleware:middleware
If /admin is gated only by middleware, the request reaches the route handler
without the middleware ever running.
x-middleware-subrequest header at
your reverse proxy/WAF for all external requests.Connected by shared product, vendor, weakness, or advisory.
CVE-2026-44579High· 7.5Next.js is a React framework for building full-stack web applications
CVE-2026-44578High· 8.6Next.js is a React framework for building full-stack web applications
CVE-2026-45109High· 7.5Next.js is a React framework for building full-stack web applications
CVE-2026-44577Medium· 5.9Next.js is a React framework for building full-stack web applications
CVE-2026-44575High· 7.5Next.js is a React framework for building full-stack web applications
CVE-2026-44574High· 8.1Next.js is a React framework for building full-stack web applications