CVE-2024-51479
Next.js authorization bypass vulnerability
Description
### Impact If a Next.js application is performing authorization in middleware based on pathname, it was possible for this authorization to be bypassed. ### Patches This issue was 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. ### Workarounds There are no official workarounds for this vulnerability. #### Credits We'd like to thank [tyage](http://github.com/tyage) (GMO CyberSecurity by IERAE) for responsible disclosure of this issue.
How to fix CVE-2024-51479
To remediate CVE-2024-51479, upgrade the affected package to a fixed version below.
- —upgrade to 14.2.15 or later
Is CVE-2024-51479 being exploited?
Likely — EPSS is 78.5%, placing CVE-2024-51479 in the top tier of vulnerabilities by exploitation probability. Prioritise patching.
Affected packages (1)
- >= 9.5.5, < 14.2.15
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |