CVE-2025-29927 is an authentication bypass vulnerability in the middleware layer in Vercel’s Next.js. Exploitation is trivial and can be achieved by adding an x-middleware-subrequest header with a specially crafted value in the request. The Next.js middleware will incorrectly process the header and bypass the authentication check. This course will give you a clear understanding of this vulnerability, its potential impact, and the urgency of applying the newly released patches. We will walk through the security implications for affected systems, explore risk mitigation strategies, and provide actionable steps to safeguard your organization against exploitation.
Overview
CVE-2025-29927 is an authentication bypass vulnerability in the middleware layer in Vercel’s Next.js. Exploitation is trivial and can be achieved by adding an x-middleware-subrequest header with a specially crafted value in the request. The Next.js middleware will incorrectly process the header and bypass the authentication check. This course will give you a clear understanding of this vulnerability, its potential impact, and the urgency of applying the newly released patches. We will walk through the security implications for affected systems, explore risk mitigation strategies, and provide actionable steps to safeguard your organization against exploitation.
Taught by
Michael Teske