{"id":"CVE-2024-51479","aliases":["GHSA-7gfc-8cq8-jh5f"],"url":"https://o3.security/vulnerability/CVE-2024-51479","summary":"Authorization bypass in Next.js","details":"Next.js is a React framework for building full-stack web applications. In affected versions if a Next.js application is performing authorization in middleware based on pathname, it was possible for this authorization to be bypassed for pages directly under the application's root directory. For example: * [Not affected] `https://example.com/` * [Affected] `https://example.com/foo` * [Not affected] `https://example.com/foo/bar`. This issue is patched in Next.js `14.2.15` and later. If your Next.js application is hosted on Vercel, this vulnerability has been automatically mitigated, regardless of Next.js version. There are no official workarounds for this vulnerability.","published":"2024-12-17T18:13:02.806Z","modified":"2026-08-12T03:51:41.758751757Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"next","fixedVersion":"14.2.15"}],"fix":null,"references":[{"type":"WEB","url":"https://github.com/vercel/next.js/releases/tag/v14.2.15"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/51xxx/CVE-2024-51479.json"},{"type":"ADVISORY","url":"https://github.com/vercel/next.js/security/advisories/GHSA-7gfc-8cq8-jh5f"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-51479"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:41.758751757Z"}}