Read the docs
TI-2024-34400 Aliases CVE-2024-51479GHSA-7gfc-8cq8-jh5f

Authorization bypass in Next.js

Priority MEDIUM 46CWE-285Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
High · None · None
Fix status
Partial Red Hat: 1 fixed, 2 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-285.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.03995 90th percentileScored 2026-11-07
Fix Partial next.js (vercel): 14.2.15next (npm): 14.2.15Red Hat: 1 advisoryRed Hat: 1 fixed, 2 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
vercelnext.js9.5.5 to before 14.2.1514.2.15Patch availableCNA
—next (npm)9.5.5 to before 14.2.1514.2.15Patch availableGHSA-7gfc-8cq8-jh5f
  • next.js Vendorvercel Affected 9.5.5 to before 14.2.15 Fixed in 14.2.15 Patch available CNA
  • next (npm) Vendor— Affected 9.5.5 to before 14.2.15 Fixed in 14.2.15 Patch available GHSA-7gfc-8cq8-jh5f

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:vercel:next.js:*:*:*:*:*:node.js:*:*9.5.5 to before 14.2.15Vulnerablevercel
  • cpe:2.3:a:vercel:next.js:*:*:*:*:*:node.js:*:* Versions 9.5.5 to before 14.2.15 Vulnerable ·vercel

Remediation

  • Fix · CNA next.js (vercel) Fixed in 14.2.15
  • Fix · GHSA-7gfc-8cq8-jh5f next (npm) Fixed in 14.2.15 Advisory →

Red Hat 1 advisory

  • RHSA-2025:3807 Released 2025-04-10 · Red Hat rating Moderate
    RHTAS 1.1.2 - Red Hat Trusted Artifact Signer Release
    • Red Hat Trusted Artifact Signer 1.1 registry.redhat.io/rhtas/rekor-search-ui-rhel9

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 9AffectedNo fix planned: Out of support scope
streams for Apache KafkaAffectedNo fix yet
Red Hat Trusted Artifact Signer 1.1Fixed RHSA-2025:3807
Not affected: 3 products
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-51479
  2. 2026-10-03 Alias added: GHSA-7gfc-8cq8-jh5f

References

  • TI-2025-34861 Deserialization of untrusted data in Meta react-server-dom-webpack KEVCVSS 3.1CRITICAL 10.0
  • TI-2025-21309 Authorization Bypass in Next.js Middleware CVSS 3.1CRITICAL 9.1
  • TI-2025-34863 Deserialization of untrusted data in Meta react-server-dom-webpack CVSS 3.1HIGH 7.5
  • TI-2024-31371 Cache Poisoning in next.js CVSS 3.1HIGH 7.5
  • TI-2023-24914 Next.js before 13.4.20-canary.13 lacks a cache-control header and thus empty prefetch… CVSS 3.1HIGH 7.5
  • TI-2026-32490 Next.js: Server-side request forgery in applications using WebSocket upgrades CVSS 3.1HIGH 8.6
See all 62 →

Sources