Improper Authorization in Next.js - CVE-2026-64642
Published: July 22, 2026
Next.js
Detailed vulnerability description
The vulnerability allows a remote attacker to bypass middleware or proxy-based authentication and gain unauthorized access to protected application content.
The vulnerability exists due to improper authorization in App Router applications when processing crafted requests in builds using Turbopack with a single entry in config.i18n.locales. A remote attacker can send a specially crafted request to bypass middleware or proxy-based authentication and gain unauthorized access to protected application content.
Only App Router applications built with Turbopack and configured with a single locale are vulnerable.