CVE-2024-51479 | Authorization bypass in Next.js

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-17 Last update: 2025-09-10 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2024-51479 is rated High Risk (67.5/100): CVSS High severity, with high exploitation likelihood (EPSS 78.51%, 99th percentile). Core evidence: EPSS ranks this CVE among the most likely to be exploited in the near term. EPSS rose +2.82% over the last day, indicating growing attacker interest. Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2024-51479

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-05-20 75.69% 78.51% +2.82%
2 2026-05-19 71.55% 75.69% +4.14%
3 2026-05-08 71.55%

Full EPSS history (39 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2024-51479

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
3.9 3.6 [email protected]

Weakness enumeration for CVE-2024-51479

GitHub Security Advisory for CVE-2024-51479

GHSA-7gfc-8cq8-jh5f · Severity: high · Ecosystem: npm — Next.js authorization bypass vulnerability

OS Trackers for CVE-2024-51479

vendor priority summary link
redhat medium https://access.redhat.com/security/cve/CVE-2024-51479

Affected software / configurations for CVE-2024-51479

Vendor Product Version Raw CPE
vercel next.js >= 9.5.5, < 14.2.15 cpe:2.3:a:vercel:next.js:*:*:*:*:*:node.js:*:*

References for CVE-2024-51479

cvelogic Threat Intelligence