AppSecEngineer

Next.js Just Got Hit with a Critical Security Flaw

Imagine an attacker bypassing your app’s authorization checks, no brute force, no fancy exploits, just a simple trick to skip security middleware entirely.

That’s exactly what researchers just uncovered in Next.js.

The culprit? x-middleware-subrequest, an internal header that can be abused to bypass security middleware, potentially letting unauthorized users access protected routes.

In this video, Abhay Bhargav breaks down how this exploit works, why it puts Next.js applications at risk and what you need to do to lock it down.

Security teams and developers, this is one you cannot afford to ignore.

4 weeks ago | [YT] | 0