Feed
9.1CRITICAL

CVE-2025-29927Authorization Bypass in Next.js Middleware

A critical-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 75.3% chance of exploitation in the next 30 days. A fixed version is named.

Exploited in the wild
Not in KEV
EPSS
75.3%
percentile 100%
Priority
75/100 high
how it is computed
Fix
Named by a source
CVE published 21 Mar 2025

Reference

None of the "Needs attention" rules apply right now.

EPSS 75.3% (+50) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)

Immediate actions

Who should check

  • next (npm) pkg:npm/next

    • Affected>= 13.0.0, < 13.5.9Fixed in13.5.9OSV (GHSA-f82v-jwr5-mffw)
    • Affected>= 14.0.0, < 14.2.25Fixed in14.2.25OSV (GHSA-f82v-jwr5-mffw)
    • Affected>= 15.0.0, < 15.2.3Fixed in15.2.3OSV (GHSA-f82v-jwr5-mffw)
    • Affected>= 12.0.0, < 12.3.5Fixed in12.3.5OSV (GHSA-f82v-jwr5-mffw)
  • vercel next.js product:vercel/nextjs

    • Affected>= 11.1.4, < 12.3.5Affected range ends before12.3.5as published by CNA (CVE List)
    • Affected>= 14.0.0, < 14.2.25Affected range ends before14.2.25as published by CNA (CVE List)
    • Affected>= 15.0.0, < 15.2.3Affected range ends before15.2.3as published by CNA (CVE List)
    • Affected>= 13.0.0, < 13.5.9Affected range ends before13.5.9as published by CNA (CVE List)
    • Affected>= 11.1.4, < 12.3.5Affected range ends before12.3.5as published by CPE data (via the NVD API)
    • Affected>= 13.0.0, < 13.5.9Affected range ends before13.5.9as published by CPE data (via the NVD API)
    • Affected>= 14.0.0, < 14.2.25Affected range ends before14.2.25as published by CPE data (via the NVD API)
    • Affected>= 15.0.0, < 15.2.3Affected range ends before15.2.3as published by CPE data (via the NVD API)

Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.

Confirmed facts

CVSS
9.1 CRITICAL (version 3.1)
Score from
CNA ([email protected])
Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
none
Weakness
CWE-285, CWE-863
Exploitation (CISA SSVC)
none
Automatable (CISA SSVC)
yes
Assigned by
[email protected]

Unknowns

  • We show one CVSS score. Other sources may score this CVE differently.

Advisory text

Quoted from the source advisory (untrusted)Next.js is a React framework for building full-stack web applications. Starting in version 1.11.4 and prior to versions 12.3.5, 13.5.9, 14.2.25, and 15.2.3, it is possible to bypass authorization checks within a Next.js application, if the authorization check occurs in middleware. If patching to a safe version is infeasible, it is recommend that you prevent external user requests which contain the x-middleware-subrequest header from reaching your Next.js application. This vulnerability is fixed in 12.3.5, 13.5.9, 14.2.25, and 15.2.3.

Update history

  • 31 Mar 2025Exploitation more likely 32.1% → 84.7%
  • 21 Mar 2025Published

References

Sources

This page is our own presentation: records are shortened, normalised and merged. Licences

Last checked: kev 51 min ago · osv 51 min ago · nvd 20 min ago · epss 50 min ago · JSON · ask via MCP: explain_vulnerability

Also known as GHSA-f82v-jwr5-mffw