CVE-2026-44575: Next.js: Middleware / Proxy bypass in App Router applications via segment-prefetch routes

Published May 11, 2026
·
Updated

Impact

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.

Fix

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.

Workarounds

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

Other sources

Next.js is a React framework for building full-stack web applications. From 15.2.0 to before 15.5.16 and 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. This vulnerability is fixed in 15.5.16 and 16.2.5.

MITRE

Affected Software

4 affected componentsFixes available
npm/next>=16.0.0<16.2.5
16.2.5
npm/next>=15.2.0<15.5.16
15.5.16
Vercel Next.js Node.js>=15.2.0<15.5.16
Vercel Next.js Node.js>=16.0.0<16.2.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/next to a version that resolves this vulnerability.

    Fixed in 16.2.5
  2. Upgrade

    Upgrade npm/next to a version that resolves this vulnerability.

    Fixed in 15.5.16
  3. Upgrade

    Upgrade Next.js to a version that resolves this vulnerability.

    Fixed in 15.5.16
  4. Upgrade

    Upgrade Next.js to a version that resolves this vulnerability.

    Fixed in 16.2.5
  5. Configuration

    If you cannot upgrade, enforce authorization in the underlying route or page logic instead of relying solely on middleware (middleware/proxy-based checks may be bypassed via transport-specific App Router segment-prefetch route variants).

    Next.js App Router authorization flow middleware-only authorization = disallow

Event History

May 11, 2026
Advisory Published
via GitHub·03:54 PM
Data Sourced
via GitHub·03:54 PM
DescriptionSeverityWeaknessAffected Software
May 13, 2026
CVE Published
via MITRE·04:54 PM
Data Sourced
via MITRE·04:54 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:16 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via Red Hat·06:01 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-44575?

CVE-2026-44575 has been classified with a serious severity level that could result in unauthorized access through middleware or proxy bypass.

2

How do I fix CVE-2026-44575?

To fix CVE-2026-44575, update your Next.js application to version 15.5.16 or 16.2.5.

3

What versions of Next.js are affected by CVE-2026-44575?

CVE-2026-44575 affects Next.js versions from 15.2.0 to 15.5.16 and from 16.0.0 to 16.2.5.

4

Who is impacted by CVE-2026-44575?

Developers using Next.js with middleware or proxy checks for authorization are impacted by CVE-2026-44575.

5

What type of vulnerability is CVE-2026-44575?

CVE-2026-44575 is a middleware and proxy bypass vulnerability in Next.js applications.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203