A critical security flaw has been identified in Next.js, a widely-used React framework.This vulnerability allows attackers to bypass middleware-based authorization checks by exploiting the x-middleware-subrequest header.The severity of this vulnerability depends on how the application is structured and the reliance on middleware for authentication.The Next.js team has released patched versions to address the issue and recommends updating applications promptly.