Skip to content
OpenAdvisories
High · 7.5 CVE-2026-44573 EUVD-2026-30057GHSA-36qx-fr4f-26g5

Next.js: Middleware / Proxy bypass in Pages Router applications using i18n

Published May 13, 2026 · Updated Aug 13, 2026 · Assigned by GitHub_M

Description

Next.js is a React framework for building full-stack web applications. From 12.2.0 to before 15.5.16 and 16.2.5, Applications using the Pages Router with i18n configured and middleware/proxy-based authorization can allow unauthorized access to protected page data through locale-less /_next/data/<buildId>/<page>.json requests. In affected configurations, middleware does not run for the unprefixed data route, allowing an attacker to retrieve SSR JSON for protected pages without passing the intended authorization checks. This vulnerability is fixed in 15.5.16 and 16.2.5.

Affected products

VendorProductAffectedFixed
vercel next.js >= 12.2.0, < 15.5.16, >= 16.0.0, < 16.2.5 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm next >= 12.2.0, < 15.5.16 15.5.16 GHSA-36qx-fr4f-26g5
npm next >= 16.0.0, < 16.2.5 16.2.5 GHSA-36qx-fr4f-26g5

Advisories 1

References