CVE-2026-64642

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

Published Jul 27, 2026 CVSS 4.0 · 8.3 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

In Next.js versions 16.0.0 through 16.2.10, crafted HTTP requests can bypass middleware or proxy based authentication when the application uses the App Router with Turbopack and only a single locale is defined in the i18n configuration. The flaw allows an attacker to gain unauthorized access to protected resources, compromising confidentiality and potentially integrity. The weakness is classified as CWE‑285, an authentication bypass vulnerability.

Affected Systems

The vulnerability affects deployments of vercel:next.js from version 16.0.0 up to but not including 16.2.11. It specifically requires the use of the App Router, Turbopack build system, and a configuration where config.i18n.locales contains only one entry.

Risk and Exploitability

The CVSS score of 8.3 denotes high severity. The EPSS score is less than 1%, indicating a very low exploitation probability, and the issue is not listed in the CISA KEV catalog, suggesting no known active exploits at this time. Attackers can exploit the flaw remotely by sending forged requests over the network; no local privileges or additional conditions are required. The likely attack vector is a crafted HTTP request to the application endpoint that bypasses the middleware or proxy layer.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Next.js to version 16.2.11 or later
  • Verify that the application contains at least two locales in config.i18n.locales to avoid the single‑locale condition
  • If upgrading immediately is not possible, double‑check that all routes requiring authentication are protected by additional checks outside the middleware

Generated by OpenCVE AI on August 2, 2026 at 10:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-6gpp-xcg3-4w24 Next.js: Middleware / Proxy bypass in App Router applications using Turbopack and single locale
History
Type Values Removed Values Added
Weaknesses CWE-807
References
Metrics threat_severity

None

cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N'}

threat_severity

Important

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Vercel
Vercel next.js
Vendors & Products Vercel
Vercel next.js
Type Values Removed Values Added
Description 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.
Title Next.js: Middleware / Proxy bypass in App Router applications using Turbopack and single locale
Weaknesses CWE-285
References
Metrics cvssV4_0

{'score': 8.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-285

    Improper Authorization

  • CWE-807

    Reliance on Untrusted Inputs in a Security Decision

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 28, 2026, 3:20 PM
Reserved
Jul 20, 2026, 5:11 PM
Status
Analyzed
Published
Jul 27, 2026, 6:16 PM
Modified
Oct 24, 2026, 1:10 PM
Severity
Important
Public date
Jul 27, 2026, 5:45 PM