← All advisories
CVE-2026-44574highBroken access control2026-05-11

CVE-2026-44574: Next.js has a Middleware / Proxy bypass through dynamic route parameter injection

Applications that rely on middleware to protect dynamic routes can be vulnerable to authorization bypass.

01.

What it is

Applications that rely on middleware to protect dynamic routes can be vulnerable to authorization bypass. In affected deployments, specially crafted query parameters can alter the dynamic route value seen by the page while leaving the visible path unchanged, which can allow protected content to be rendered without passing the expected middleware check.

We now only honor internal route-parameter normalization in trusted routing flows and ignore externally supplied parameter encodings that should never have been accepted from ordinary requests.

If you cannot upgrade immediately, enforce authorization in route or page logic instead of relying solely on middleware path matching.

02.

How to check

  1. Affected: next (npm) >= 15.4.0, < 15.5.16.
  2. Affected: next (npm) >= 16.0.0, < 16.2.5.
  3. Compare your installed version with the range above (command below).
03.

How to fix

  1. Upgrade next to 15.5.16 or later.
  2. Upgrade next to 16.2.5 or later.
npm ls next
04.

Sources

More advisories for this tool
The weekly email

One email a week. Only what changed.

New advisories, CVEs and fixes for Lovable, Bolt, v0, Replit, Base44 and Cursor apps. No roundups of things you already read.