Advisory

GHSA-6gpp-xcg3-4w24

Also known as: CVE-2026-64642

Summary

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

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-07-22 22:59 UTC
Modified
2026-09-10 03:51 UTC

Affected packages and fixes

next

npm · All systems

Affected

  • introduced 16.0.0, fixed 16.2.11 (semver)

Fixed versions

16.2.11

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences