VDB

CVE-2025-29927

CVE-2025-29927 PUBLISHED CVSS 9.1 CRITICAL

Authorization Bypass in Next.js Middleware

Reported by github_m · Published March 21, 2025

next is fixed in 15.2.3, 14.2.25, 13.5.9 and 1 more (npm)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
nextnpm15.2.3, 14.2.25, 13.5.9, 12.3.5
jitsucom-jitsuChainguard2.9.0-r0

Risk scores

CVSS 3.1
9.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected products

VendorProductVersions
vercelnext.js>= 11.1.4, < 12.3.5, >= 14.0.0, < 14.2.25, >= 15.0.0, < 15.2.3
chainguardjitsucom-jitsu0
vercelnext.js13.0.0, 11.1.4, 14.0.0
wolfijitsucom-jitsu0
npmnext13.0.0, 14.0.0, 15.0.0

Timeline

  • Mar 21, 2025 CVE Published
  • Mar 22, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 23, 2025 VulnCheck XDB Entry (95 in total, the first dated here)
  • Mar 24, 2025 PoC Published (8 in total, the first dated here)
  • Mar 28, 2025 VulnCheck KEV Exploitation (133 in total, the first dated here)
  • Mar 10, 2026 Security Advisory (3 in total, the first dated here)
  • Jun 14, 2026 Coalition ESS Score
  • Nov 9, 2026 CrowdSec Sighting (9 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-29927
vulnetix vdb fixes CVE-2025-29927

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-29927/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›