CVE-2025-29927
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.
Published Updated Sources: NVD, vercel (CNA), GitHub, GitHub Security Advisory, Exploit-DB, Red Hat (VEX), SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Reported
not confirmed by CISA
EPSS
99%
top of FIRST's scoreset
CVSS base
9.1
critical
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
Yes
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Remediation
The vendor's own words where we have them.
Upgrade next to 13.5.9 or later (npm advisory GHSA-f82v-jwr5-mffw).
Red Hat VEX · CVE-2025-29927
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Prioritize based on EPSS, PoC availability, and external exposure.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Vercel | next.js | >= 11.1.4, < 12.3.5 | Vulnerable |
| Vercel | next.js | >= 14.0.0, < 14.2.25 | Vulnerable |
| Vercel | next.js | >= 15.0.0, < 15.2.3 | Vulnerable |
| Vercel | next.js | >= 13.0.0, < 13.5.9 | Vulnerable |
| Npm | next | >= 13.0.0, < 13.5.9 | Vulnerable |
| Npm | next | >= 14.0.0, < 14.2.25 | Vulnerable |
| Npm | next | >= 15.0.0, < 15.2.3 | Vulnerable |
| Npm | next | >= 12.0.0, < 12.3.5 | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Availability
None
Confidentiality
High
Integrity
High
Scope
Unchanged
Attack Complexity
Low
Attack Vector
Network
Privileges Req
None
User Interaction
None
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 9.1 | CVSS 3.1 | critical | 3.9 | 5.2 | GitHub (CNA), vercel (CNA), GHSA, Red Hat (VEX) |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
What this weakness leads to
MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.
CWE-863 · Incorrect Authorization
- Read Application Data
- Read Files or Directories
- Modify Application Data
- Modify Files or Directories
Mitigation: Divide the software into anonymous, normal, privileged, and administrative areas. Reduce the attack surface by carefully mapping roles with data and functionality. Use role-based access control (RBAC) [REF-229] to enforce the roles at the appropriate boundaries. Note that this approach may not protect against horizontal authorization, i.e., it will not protect a user from attacking others with the same role.
CWE-285 · Improper Authorization
- Read Application Data
- Read Files or Directories
- Modify Application Data
- Modify Files or Directories
Mitigation: Divide the software into anonymous, normal, privileged, and administrative areas. Reduce the attack surface by carefully mapping roles with data and functionality. Use role-based access control (RBAC) to enforce the roles at the appropriate boundaries. Note that this approach may not protect against horizontal authorization, i.e., it will not protect a user from attacking others with the same role.
Weakness & attack patterns
- CWE-285
- CWE-863Incorrect Authorization
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1574.010Hijack Execution Flow: ServicesFile Permissions Weakness
- T1083File and Directory Discovery
- T1562.003Impair Defenses: Impair Command History Logging
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
1,706
3 of the 5 sampled are weaponized
Exploit entries
54
Exploit-DB and CTI exploit indexes
Malware
Families a CTI source ties to this CVE. One named, with the total it tracks.
Families tracked
5
Named
anubis
win.anubis, Anubis, apk.anubis
Social mentions
Posts naming this CVE. Attention, not evidence of exploitation — it spikes on disclosure and decays whether or not anything is exploited.
⚠️ CVE-2025-29927: Vercel Next.js improper access control allows auth bypass in middleware, leading to elevation of privilege. CVSS 9.1 (High), EPSS 99.2%, public exploit available. Patch now.… #CVE_2025_29927 https://t.co/O2f513oph9 https://t.co/8ikuP81LEJ
@VulnHero_Alert· Nov 16, 2026
🚨 ANOTHER CRITICAL NEXT.JS VULNERABILITY: A 9.1/10 severity vulnerability in Next.js allows attackers to bypass authentication and access protected areas of websites without logging in. CVE-2025-29927 affects applications that rely on Next.js middleware for security and access https://t.co/0H5bcoiKgm
@markgadala· Nov 15, 2026
RT @DarkWebInformer: 🚨 A Next.js middleware flaw can let unauthenticated attackers bypass authorization checks; CVE-2025-29927 PoC: https:…
@skocherhan· Nov 15, 2026
🚨 A Next.js middleware flaw can let unauthenticated attackers bypass authorization checks; CVE-2025-29927 PoC: https://t.co/vkyrBebqgr The vulnerability affects applications that rely on Next.js middleware for access control. By abusing the x-middleware-subrequest header, an https://t.co/ZIbkWVyDHo
@DarkWebInformer· Nov 15, 2026
If your Next.js auth check lives only in middleware, check your version. CVE-2025-29927 let one request header, x-middleware-subrequest, skip middleware entirely. Upgrade to 15.2.3, 14.2.25 or 13.5.9 or later, and check auth where data is read too. https://t.co/i2yLVwJaiO
@TheIOnProject_· Nov 10, 2026
35 more posts on this CVEShowing 5 of 40 · Who is discussing this CVE, and how loudlyUnlock freeDetection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Prioritize edge telemetry for network-reachable Next.js, Next.
- Monitor for scanner or exploit-pattern traffic after 1760 public PoC repositories were reported.
Groups associated with this CVE
Groups reported in connection with this vulnerability. A reported association, not a confirmed observation of that group using it — and not scoped to any sector or campaign.
10 more threat groups on this CVEShowing 5 of 15 · Attribution, campaigns and the malware each one runsUnlock free- ip61.163.138.20138
Cyber Threat Alliance (CTA) · Oct 7, 2026
- ip125.46.149.4938
Cyber Threat Alliance (CTA) · Oct 7, 2026
Timeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Cve is exploited alinaclark672377250/CVE-2025-29927-POC
Nov 14, 2026 · SOCRadar CTI
Cve is exploited dexteon/nextjs-middleware-auth-bypass-cve-2025-29927
Nov 14, 2026 · SOCRadar CTI
Cve is exploited vulnace/CVE-2025-29927
Oct 1, 2026 · SOCRadar CTI
Added · CVSS 3.1 9.1 (AV:N)
Jun 17, 2026 · NVD
- 2025
Added · webapps entry: Next.js Middleware 15.2.2 - Authorization Bypass
Apr 5, 2025 · Exploit-DB
Initial · CVE published
Mar 21, 2025 · NVD
Added · GHSA-f82v-jwr5-mffw published (critical)
Mar 21, 2025 · GitHub Security Advisory
Source activity
Readings a source repeats on a schedule, counted rather than listed.
- 18×SVRS was changedSep 28, 2026 – Nov 21, 2026 · SOCRadar CTI
- 12×Github ReposSep 30, 2026 – Nov 15, 2026 · SOCRadar CTI
- 5×Tweets · 1 time tweeted.Oct 1, 2026 – Nov 17, 2026 · SOCRadar CTI
- 2×TelegramSep 28, 2026 – Oct 7, 2026 · SOCRadar CTI
References
15 on the record
- github.com/vercel/next.js/commit/52a078da3884efe6501613c7834a3d02a91676d2
Patch, NIST, Mitre
- github.com/vercel/next.js/commit/5fd3ae8f8542677c6294f32d18022731eab6fe48
Patch, NIST, Mitre
- github.com/vercel/next.js/releases/tag/v12.3.5
Release Notes, NIST, Mitre
- github.com/vercel/next.js/releases/tag/v13.5.9
Release Notes, NIST, Mitre
- github.com/vercel/next.js/security/advisories/GHSA-f82v-jwr5-mffw
Vendor Advisory, NIST, Mitre
- www.openwall.com/lists/oss-security/2025/03/23/3
Mailing List, Third Party Advisory, NIST
- www.openwall.com/lists/oss-security/2025/03/23/4
Mailing List, NIST
- security.netapp.com/advisory/ntap-20250328-0002/
Third Party Advisory, Vendor Advisory, NIST
Coverage
16 stories from the feeds we poll
React2STEAL Exploits React2Shell via GitHub Actions - GitGuardian Blog
blog.gitguardian.com · Nov 20, 2026
SANS Stormcast Monday Mar 24th: Critical Next.js Vulnerability; Microsoft Trust Signing Platform Abuse
isc.sans.edu · Mar 24, 2025
CVE-2025-29927 Authorization Bypass in Next.js Middleware
snyk.io · Mar 23, 2025
GuardDuty Extended Threat Detection has added five new indicators to surface attack sequences
aws.amazon.com · Oct 12, 2026
Hackers Mass-Scan Exposed Vite Servers to Steal AWS and Azure Cloud Credentials - CyberSecurityNews
cybersecuritynews.com · Sep 14, 2026
11 more reports on this CVEShowing 5 of 16 · Vendor research and security press coverageUnlock freeRelated CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-94545 Satori-generated SVG has improper escapingCVSS 5.3
- CVE-2025-54253 Adobe Experience Manager | Incorrect Authorization (CWE-863)CVSS 10.0 · CISA KEV
- CVE-2026-123218 IBM Aspera Faspex Authorization BypassCVSS 9.8 · CISA KEV
- CVE-2024-45519 Synacor Zimbra Collaboration Suite (ZCS) Command Execution VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2024-38856 Apache OFBiz Incorrect Authorization VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2023-38035 Ivanti Sentry Authentication Bypass VulnerabilityCVSS 9.8 · CISA KEV
Elsewhere on this site
- Vercelevery CVE for this vendor
- Npmevery CVE for this vendor
- next.jsevery page on this product
- Access Controlsame class
- CWE-285other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- Only the 2 indicator(s) reported for this CVE are available; no packet-level or host-forensic artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2025-29927 is Authorization Bypass in Next.js Middleware, a critical vulnerability affecting Next.js, Next from Vercel, Npm. The current evidence does not list it in CISA KEV, and the exploit status is: Exploitation is reported, but no independent confirmation is available in the sources we have. Public exploit evidence is: 1760 public PoC repositories reported; 3 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 9.1 describes technical severity, while EPSS 99% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.