ADVISORIES

GitHub Advisory Database

GHSA-6gpp-xcg3-4w24

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.

Affected packages

EcosystemPackageAffected versions
npmnext
From 16.0.0 before 16.2.11 (fixed in 16.2.11)

References