CVE-2025-29927
Authorization Bypass in Next.js Middleware
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 99.225% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 9.1 · published by GitHub_MCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Assessment source · checked 2026-11-19T12:57:30.028Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:59:58.648Z | CISA KEV |
| cvss | verified | 2026-11-19T12:57:30.028Z | CVE Program |
| epss | verified | 2026-11-19T16:04:40.588Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:51:57.337Z | OSV |
| affected | verified | 2026-11-19T12:57:30.028Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:30.028Z | CVE Program |
Affected versions and configuration
vercel next.js; default status: unknown: >= 11.1.4, < 12.3.5 [affected; scheme: unspecified]; >= 14.0.0, < 14.2.25 [affected; scheme: unspecified]; >= 15.0.0, < 15.2.3 [affected; scheme: unspecified]; >= 13.0.0, < 13.5.9 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "vercel",
"product": "next.js",
"versions": [
{
"status": "affected",
"version": ">= 11.1.4, < 12.3.5"
},
{
"status": "affected",
"version": ">= 14.0.0, < 14.2.25"
},
{
"status": "affected",
"version": ">= 15.0.0, < 15.2.3"
},
{
"status": "affected",
"version": ">= 13.0.0, < 13.5.9"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2025-29927",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2025-04-08T15:16:38.515188Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-04-08T15:17:05.315Z"
}
},
{
"title": "CVE Program Container",
"references": [
{
"url": "http://www.openwall.com/lists/oss-security/2025/03/23/3"
},
{
"url": "http://www.openwall.com/lists/oss-security/2025/03/23/4"
},
{
"url": "https://security.netapp.com/advisory/ntap-20250328-0002/"
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2025-03-28T15:03:09.597Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-f82v-jwr5-mffw",
"aliases": [
"CVE-2025-29927"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "13.0.0"
},
{
"fixed": "13.5.9"
}
]
}
],
"package": {
"name": "next",
"purl": "pkg:npm/next",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-f82v-jwr5-mffw/GHSA-f82v-jwr5-mffw.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "14.0.0"
},
{
"fixed": "14.2.25"
}
]
}
],
"package": {
"name": "next",
"purl": "pkg:npm/next",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-f82v-jwr5-mffw/GHSA-f82v-jwr5-mffw.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "15.0.0"
},
{
"fixed": "15.2.3"
}
]
}
],
"package": {
"name": "next",
"purl": "pkg:npm/next",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-f82v-jwr5-mffw/GHSA-f82v-jwr5-mffw.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "12.0.0"
},
{
"fixed": "12.3.5"
}
]
}
],
"package": {
"name": "next",
"purl": "pkg:npm/next",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-f82v-jwr5-mffw/GHSA-f82v-jwr5-mffw.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/vercel/next.js/security/advisories/GHSA-f82v-jwr5-mffw",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-29927",
"type": "ADVISORY"
},
{
"url": "https://github.com/vercel/next.js/commit/52a078da3884efe6501613c7834a3d02a91676d2",
"type": "WEB"
},
{
"url": "https://github.com/vercel/next.js/commit/5fd3ae8f8542677c6294f32d18022731eab6fe48",
"type": "WEB"
},
{
"url": "https://github.com/vercel/next.js",
"type": "PACKAGE"
},
{
"url": "https://github.com/vercel/next.js/releases/tag/v12.3.5",
"type": "WEB"
},
{
"url": "https://github.com/vercel/next.js/releases/tag/v13.5.9",
"type": "WEB"
},
{
"url": "https://security.netapp.com/advisory/ntap-20250328-0002",
"type": "WEB"
},
{
"url": "https://vercel.com/changelog/vercel-firewall-proactively-protects-against-vulnerability-with-middleware",
"type": "WEB"
},
{
"url": "http://www.openwall.com/lists/oss-security/2025/03/23/3",
"type": "WEB"
},
{
"url": "http://www.openwall.com/lists/oss-security/2025/03/23/4",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-285",
"CWE-863"
],
"severity": "CRITICAL",
"github_reviewed": true,
"nvd_published_at": "2025-03-21T15:15:42Z",
"github_reviewed_at": "2025-03-21T15:20:12Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | npm / package | next | Not a distribution channel | 13.5.9 | Official record |
| ecosystem-boundary | npm / package | next | Not a distribution channel | 14.2.25 | Official record |
| ecosystem-boundary | npm / package | next | Not a distribution channel | 15.2.3 | Official record |
| ecosystem-boundary | npm / package | next | Not a distribution channel | 12.3.5 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:51:57.337ZArchived source JSON
Source publication: 2025-03-21T15:20:12.000Z
Source modification: 2026-09-10T03:50:23.209ZDocument fingerprint
7d4eb95abe8a9661807a717b59c5cebbe020ba401a580c1ab04c7b391af1539c - CVE ProgramConsulted: 2026-11-19T12:57:30.028ZArchived source JSON
Source publication: 2025-03-21T14:34:49.570Z
Source modification: 2025-04-08T15:17:05.315ZDocument fingerprint
34f4664acb26c636fb6914e34846ca0e636c8b0b873e3809fa459f2693ae9345 - CISA KEVConsulted: 2026-11-19T17:59:58.648ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:40.588ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
f828727fd2419e9ee62887077d52e76b99e46a1d7a1ce89e08e7e861a70ba109
Official status history
- UNKNOWN → PUBLISHED · · evidence