Intel

AIKIDO-2026-472610

next is vulnerable to Authorization Bypass

CVE-2026-64642Published Jul 22, 2026
July 22, 2026

83

CVE Score

High

Authorization Bypass

Are you affected? Scan for Free

TL;DR

Next.js applications using the App Router built with Turbopack and a single entry in config.i18n.locales mishandle path normalization for locale-prefixed routes. A crafted request can reach a protected route in a form that middleware does not match, so middleware- or proxy-based authentication checks are skipped. This lets an unauthenticated caller bypass authorization and access protected pages. The fix corrects locale route handling so middleware runs for the affected requests.

How do I fix this?

Upgrade the next library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application uses the App Router built with Turbopack and a single entry in config.i18n.locales.

Package

Versions

16.0.0 - 16.2.10

Fixed in 16.2.11

Background info

next is vulnerable to Authorization Bypass in versions 16.0.0 - 16.2.10.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea