Security mailing lists by PureSourceCode

CVE-2024-51479

HIGH 7.5CVSS 3.1

Next.js authorization bypass vulnerability

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
17 Dec 2024
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-285CWE-863
Also known as
GHSA-7gfc-8cq8-jh5f
Sources
NVDJSONOSV GHSA-7gfc-8cq8-jh5fJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD vercel next.js
cpe:2.3:a:vercel:next.js:*:*:*:*:*:node.js:*:*
>= 9.5.5, < 14.2.15 14.2.15
OSV npm next >= 9.5.5, < 14.2.15 14.2.15

References

History

  • 25 Nov 2026 20:57 UTC · NVD: first stored (published 17 Dec 2024)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 17 Dec 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.