Loading advisory.
Loading advisory.
Next.js has a Middleware / Proxy bypass in App Router applications via segment-prefetch routes
App Router applications that rely on middleware or proxy-based checks for authorization can allow unauthorized access through transport-specific route variants used for segment prefetching.
Published 2026-05-11 15:54 UTC · Modified 2026-09-10 03:51 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| next | npm | >= 15.2.0, < 15.5.16 >= 16.0.0, < 16.2.5 | 15.5.16, 16.2.5 | npm install next@15.5.16npm install next@16.2.5 |
App Router applications that rely on middleware or proxy-based checks for authorization can allow unauthorized access through transport-specific route variants used for segment prefetching. In affected configurations, specially crafted .rsc and segment-prefetch URLs can resolve to the same page without being matched by the intended middleware rule, which can allow protected content to be reached without the expected authorization check.
We now include App Router transport variants when generating middleware matchers, so middleware protections are applied consistently to those requests as well as to the normal page URL.
If you cannot upgrade immediately, enforce authorization in the underlying route or page logic instead of relying solely on middleware.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.016 on 2026-11-24 to 0.008 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.016 | first score | v2026.06.15 |
| 2026-11-26 | 0.008 | 0.016 | v2026.06.15 |