vendor:
Next.js
by:
kOaDT
6.1
CVSS
HIGH
Middleware Bypass
287
CWE
Product Name: Next.js
Affected Version From: 13.0.0
Affected Version To: 15.2.2002
Patch Exists: NO
Related CWE: CVE-2025-29927
CPE: a:vercel:next.js:13.0.0
Platforms Tested: Ubuntu 22.04.5 LTS
2025
Next.js Middleware Bypass Vulnerability (CVE-2025-29927)
The vulnerability in Next.js versions 13.0.0 to 13.5.8, 14.0.0 to 14.2.24, 15.0.0 to 15.2.2, and 11.1.4 to 12.3.4 allows attackers to bypass middleware restrictions. Exploiting this vulnerability can lead to unauthorized access or execution of malicious actions.
Mitigation:
To mitigate this vulnerability, it is recommended to update Next.js to the latest patched version. Additionally, review and secure the middleware configuration to prevent bypasses.