REDHAT-BUG-2477207: High severity Vercel Next.js vulnerability
Next.js is a React framework for building full-stack web applications. From 15.4.0 to before 15.5.16 and 16.2.5, applications that rely on middleware to protect dynamic routes can be vulnerable to authorization bypass. In affected deployments, specially crafted query parameters can alter the dynamic route value seen by the page while leaving the visible path unchanged, which can allow protected content to be rendered without passing the expected middleware check. This vulnerability is fixed in 15.5.16 and 16.2.5.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 15.5.16 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 16.2.5
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2477207?
The severity of REDHAT-BUG-2477207 is classified as high (7).
How do I fix REDHAT-BUG-2477207?
To fix REDHAT-BUG-2477207, upgrade Next.js to version 15.5.16 or 16.2.6 or later.
What versions of Next.js are affected by REDHAT-BUG-2477207?
REDHAT-BUG-2477207 affects Next.js versions from 15.4.0 up to but not including 15.5.16 and 16.2.5.
What type of vulnerability is REDHAT-BUG-2477207?
REDHAT-BUG-2477207 is an authorization bypass vulnerability affecting middleware in Next.js applications.
What should I do if my application is using an affected version related to REDHAT-BUG-2477207?
If your application is using an affected version, you should update to the fixed version to mitigate the authorization bypass risk.