Contact

CVE-2025-29927: Next.js Middleware Authorization Bypass Flaw

NetmanageIT OpenCTI - opencti.netmanageit.com

CVE-2025-29927: Next.js Middleware Authorization Bypass Flaw



SUMMARY :

A critical vulnerability, CVE-2025-29927, with a CVSS score of 9.1 was disclosed on March 21, 2025. This flaw allows attackers to bypass authorization checks in Next.js Middleware, potentially granting unauthorized access to protected resources. The vulnerability affects applications using Middleware for user authorization, session data validation, route access control, redirections, and UI visibility management. The issue stems from how the runMiddleware function handles the x-middleware-subrequest header. Attackers can craft malicious headers to bypass middleware controls. Affected versions range from 11.1.4 to 15.2.3. Users are urged to update to patched versions or implement mitigation strategies to block external requests containing the vulnerable header.

OPENCTI LABELS :

vulnerability,next.js,authorization bypass,cve-2025-29927,javascript framework


Open in NetmanageIT OpenCTI Public Instance with below link!


Use public read only username and password on login page.

NOTE : Use Public READ only user credentials on login page banner.


CVE-2025-29927: Next.js Middleware Authorization Bypass Flaw