{"id":"CVE-2025-29927","url":"https://www.cyber-defence.io/tools/cve/CVE-2025-29927","generatedAt":"2026-11-03T22:42:22.116Z","title":"Starting in version 1.11.4 and prior to versions 12.3.5, 13.5.9, 14.2.25, and 15.2.3, it is possible to bypass authorization checks within a Next.js application, if the authorization check occurs in middleware.","description":"Next.js is a React framework for building full-stack web applications. Starting in version 1.11.4 and prior to versions 12.3.5, 13.5.9, 14.2.25, and 15.2.3, it is possible to bypass authorization checks within a Next.js application, if the authorization check occurs in middleware. If patching to a safe version is infeasible, it is recommend that you prevent external user requests which contain the x-middleware-subrequest header from reaching your Next.js application. This vulnerability is fixed in 12.3.5, 13.5.9, 14.2.25, and 15.2.3.","published":"2025-03-21T15:15:43.000Z","lastModified":"2026-06-17T09:05:54.000Z","status":"Analyzed","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"3.1","score":9.1,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"},"cwe":["CWE-285","CWE-863"],"affected":["vercel/next.js"],"epss":{"score":0.99225,"percentile":0.99936,"date":"2026-11-02","history":[]},"kev":{"listed":false},"exploits":{"count":1,"verified":false,"firstPublished":"2025-04-05","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":52124,"kind":"exploit","title":"Next.js Middleware 15.2.2 -  Authorization Bypass","url":"https://www.exploit-db.com/exploits/52124","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/multiple/webapps/52124.txt","file":"exploits/multiple/webapps/52124.txt","published":"2025-04-05","added":"2025-04-05","updated":"2025-04-05","author":"kOaDT","type":"webapps","platform":"multiple","port":null,"verified":false,"codes":["CVE-2025-29927"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":null}]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 99.2%, higher than 100% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"https://github.com/vercel/next.js/commit/52a078da3884efe6501613c7834a3d02a91676d2","tags":["Patch"],"source":"security-advisories@github.com"},{"url":"https://github.com/vercel/next.js/commit/5fd3ae8f8542677c6294f32d18022731eab6fe48","tags":["Patch"],"source":"security-advisories@github.com"},{"url":"https://github.com/vercel/next.js/releases/tag/v12.3.5","tags":["Release Notes"],"source":"security-advisories@github.com"},{"url":"https://github.com/vercel/next.js/releases/tag/v13.5.9","tags":["Release Notes"],"source":"security-advisories@github.com"},{"url":"https://github.com/vercel/next.js/security/advisories/GHSA-f82v-jwr5-mffw","tags":["Vendor Advisory"],"source":"security-advisories@github.com"},{"url":"http://www.openwall.com/lists/oss-security/2025/03/23/3","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2025/03/23/4","tags":["Mailing List"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.netapp.com/advisory/ntap-20250328-0002/","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-29927","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}