Improper access control in Next.js - #VU130281
Published: May 6, 2026
Next.js
vercel
Description
The vulnerability allows a remote attacker to disclose sensitive information.
The vulnerability exists due to improper access control in middleware authorization for Pages Router data routes when handling locale-less /_next/data//.json requests. A remote attacker can send a specially crafted request to disclose sensitive information.
Only applications using the Pages Router with i18n configured and relying on middleware or proxy-based authorization for protected page data are vulnerable.