CVE-2026-64642: Next.js: Middleware / Proxy bypass in App Router applications using Turbopack and single locale

Published Jul 22, 2026
·
Updated

Impact

Crafted requests targeting Next.js applications using App Router built with Turbopack and a single entry in config.i18n.locales can bypass middleware/proxy based authentication.

Workarounds

If you cannot upgrade immediately, enforce authorization in the page's server-side data path instead of relying solely on middleware.

Other sources

Next.js is a React framework for building full-stack web applications. In versions 16.0.0 through 16.2.10, crafted requests targeting Next.js applications using App Router built with Turbopack and a single entry in config.i18n.locales can bypass middleware/proxy based authentication. This issue has been fixed in version 16.2.11.

MITRE

Affected Software

2 affected componentsFixes available
npm/next>=16.0.0<16.2.11
16.2.11
Vercel Next.js Node.js>=16.0.0<16.2.11

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.11
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 16.2.11
  3. Configuration

    If you cannot upgrade from 16.0.0 through 16.2.10, enforce authorization in the page's server-side data path instead of relying solely on middleware/proxy based authentication.

    Next.js (App Router) Authorization enforcement location = Server-side data path

Event History

Jul 22, 2026
Advisory Published
via GitHub·10:59 PM
Data Sourced
via GitHub·10:59 PM
DescriptionWeaknessAffected Software
Jul 27, 2026
CVE Published
via MITRE·05:45 PM
Data Sourced
via MITRE·05:45 PM
DescriptionWeakness
Data Sourced
via NVD·06:16 PM
RemedyDescriptionSeverityWeaknessAffected 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-64642?

CVE-2026-64642 has a risk rating of 62, indicating a moderate level of severity.

2

How do I fix CVE-2026-64642?

To fix CVE-2026-64642, upgrade your Next.js application to the latest version that addresses the vulnerability.

3

What type of applications are affected by CVE-2026-64642?

CVE-2026-64642 affects Next.js applications using App Router built with Turbopack that have a single entry in config.i18n.locales.

4

What could happen if CVE-2026-64642 is exploited?

Exploitation of CVE-2026-64642 can allow unauthorized access by bypassing middleware or proxy-based authentication.

5

Are there any workarounds for CVE-2026-64642?

If immediate upgrading is not possible, enforce authorization in the page's server-side data processing as a workaround.

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