Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

CVSS 9.1 · Critical EPSS 92.31% · P100
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2025-29927

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Authorization Bypass in Next.js Middleware
Source: NVD (National Vulnerability Database)
Vulnerability Description
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.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Source: NVD (National Vulnerability Database)
Vulnerability Type
授权机制不恰当
Source: NVD (National Vulnerability Database)
Vulnerability Title
Next.js 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Next.js是Vercel开源的一个 React 框架。 Next.js 14.2.25之前版本和15.2.3之前版本存在安全漏洞,该漏洞源于如果授权检查发生在中间件中,可能绕过授权检查。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Shenlong Deep Dive — AI Deep Analysis

10-question deep dive: root cause, exploitation, mitigation, urgency. Read summary free, full version requires login.

Affected Products

VendorProductAffected VersionsCPESubscribe
vercelnext.js >= 11.1.4, < 12.3.5 -

II. Public POCs for CVE-2025-29927

#POC DescriptionSource LinkShenlong Link
1Verify Next.js CVE-2025-29927 on Netlify not vulnerablehttps://github.com/serhalp/test-cve-2025-29927POC Details
2Next.js Middleware Authorization Bypasshttps://github.com/Ademking/CVE-2025-29927POC Details
3A Nuclei template to detect CVE-2025-29927 the Next.js authentication bypass vulnerabilityhttps://github.com/6mile/nextjs-CVE-2025-29927POC Details
4undefinedhttps://github.com/azu/nextjs-cve-2025-29927-pocPOC Details
5Nonehttps://github.com/lirantal/vulnerable-nextjs-14-CVE-2025-29927POC Details
6CVE-2025-29927 Proof of Concepthttps://github.com/aydinnyunus/CVE-2025-29927POC Details
7Nonehttps://github.com/ticofookfook/poc-nextjs-CVE-2025-29927POC Details
8Next.js における認可バイパスの脆弱性を再現するデモです。https://github.com/t3tra-dev/cve-2025-29927-demoPOC Details
9Proof-of-Concept for Authorization Bypass in Next.js Middlewarehttps://github.com/websecnl/CVE-2025-29927-PoC-ExploitPOC Details
10Authorization Bypass in Next.js Middlewarehttps://github.com/MuhammadWaseem29/CVE-2025-29927-POCPOC Details
11CVE-2025-29927 labhttps://github.com/strobes-security/nextjs-vulnerable-appPOC Details
12CVE-2025-29927 Exploit Checkerhttps://github.com/RoyCampos/CVE-2025-29927POC Details
13Demo for Next.js middleware bypass - CVE-2025-29927https://github.com/fourcube/nextjs-middleware-bypass-demoPOC Details
14Next.Js 权限绕过漏洞(CVE-2025-29927)https://github.com/iSee857/CVE-2025-29927POC Details
15CVE-2025-29927 Proof of Concepthttps://github.com/Eve-SatOrU/POC-CVE-2025-29927POC Details
16CVE-2025-29927 Authorization Bypass in Next.js Middlewarehttps://github.com/arvion-agent/next-CVE-2025-29927POC Details
17Next.js Middleware Auth Bypasshttps://github.com/Oyst3r1ng/CVE-2025-29927POC Details
18New nuclei CVE https://github.com/lediusa/CVE-2025-29927POC Details
19Nonehttps://github.com/lem0n817/CVE-2025-29927POC Details
20CVE-2025-29927の検証https://github.com/kuzushiki/CVE-2025-29927-testPOC Details
21A deliberately Next.js app, vulnerable to CVE-2025-29927, Authorization Bypass https://github.com/ricsirigu/CVE-2025-29927POC Details
22Async Python scanner for Next.js CVE-2025-29927. Uses aiohttp & aiofiles to efficiently process large URL lists, detect vulnerabilities, and save results. Features connection pooling, caching, and chunked processing for fast performancehttps://github.com/0xWhoknows/CVE-2025-29927POC Details
23Nuclei Template: CVE-2025-29927 - Next.js Middleware Authentication Bypasshttps://github.com/tobiasGuta/CVE-2025-29927-POCPOC Details
24Sigma Rule for CVE-2025–29927 Detectionhttps://github.com/elshaheedy/CVE-2025-29927-Sigma-RulePOC Details
25Critical vulnerability in next.js : Bypass middleware authenticationhttps://github.com/furmak331/CVE-2025-29927POC Details
26Ghost Route detects if a Next JS site is vulnerable to the corrupt middleware bypass bug (CVE-2025-29927)https://github.com/takumade/ghost-routePOC Details
27Nonehttps://github.com/memmedrehimzade/CVE-2025-29927-vuln-appPOC Details
28Nonehttps://github.com/0xPb1/Next.js-CVE-2025-29927POC Details
29Nonehttps://github.com/jeymo092/cve-2025-29927POC Details
30PoC for CVE-2025-29927: Next.js Middleware Bypass Vulnerability. Demonstrates how x-middleware-subrequest can bypass authentication checks. Includes Docker setup for testing.https://github.com/alihussainzada/CVE-2025-29927-PoCPOC Details
31PowerShell script to test if a web app is vulnerable to CVE-2025-29927https://github.com/TheresAFewConors/CVE-2025-29927-TestingPOC Details
32Nonehttps://github.com/0xPThree/next.js_cve-2025-29927POC Details
33Nonehttps://github.com/0xcucumbersalad/cve-2025-29927POC Details
34script to check cve "CVE-2025-29927" while waiting to add it to HExHTTPhttps://github.com/c0dejump/CVE-2025-29927-checkPOC Details
35Nonehttps://github.com/maronnjapan/claude-create-CVE-2025-29927POC Details
36This repository contains a proof of concept (POC) and an exploit script for CVE-2025-29927, a critical vulnerability in Next.js that allows attackers to bypass authorization checks implemented in middleware.https://github.com/kOaDT/poc-cve-2025-29927POC Details
37Nonehttps://github.com/yugo-eliatrope/test-cve-2025-29927POC Details
38A touch of securityhttps://github.com/Slvignesh05/CVE-2025-29927POC Details
39Next.js Acceso no autorizado CVE-2025-29927https://github.com/aleongx/CVE-2025-29927POC Details
40A demo of the CVE-2025-29927 vulnerability for a NebraskaJS lightning talkhttps://github.com/nicknisi/next-attackPOC Details
41Next.js CVE-2025-29927 Vulnerability Scannerhttps://github.com/jmbowes/NextSecureScanPOC Details
42Este script verifica la vulnerabilidad CVE-2025-29927 en servidores Next.js, probando múltiples cargas en la cabecera x-middleware-subrequest para detectar accesos no autorizados.https://github.com/aleongx/CVE-2025-29927_ScannerPOC Details
43how to hack 90% of next.js created websites with CVE-2025-29927 vulnerability exploit https://github.com/Nekicj/CVE-2025-29927-exploitPOC Details
44Nonehttps://github.com/Heimd411/CVE-2025-29927-PoCPOC Details
45Nonehttps://github.com/m2hcz/m2hcz-Next.js-security-flaw-CVE-2025-29927---PoC-exploitPOC Details
46CVE-2025-29927에 대한 설명 및 리서치https://github.com/KaztoRay/CVE-2025-29927-ResearchPOC Details
47python script for evaluate if you are vulnerable or not to next.js CVE-2025-29927https://github.com/nocomp/CVE-2025-29927-scannerPOC Details
48This repository is for educational and research purposes.https://github.com/yuzu-juice/CVE-2025-29927_demoPOC Details
49CVE-2025-29927: Next.js Middleware Exploithttps://github.com/0x0Luk/0xMiddlewarePOC Details
50NextSploit is a command-line tool designed to detect and exploit CVE-2025-29927, a security flaw in Next.jshttps://github.com/AnonKryptiQuz/NextSploitPOC Details
51Here is a simple but effective exploit for CVE-2025-29927.https://github.com/w2hcorp/CVE-2025-29927-PoCPOC Details
52This script scans a list of URLs to detect if they are using **Next.js** and determines whether they are vulnerable to **CVE-2025-29927**. It optionally attempts exploitation using a wordlist.https://github.com/ferpalma21/Automated-Next.js-Security-Scanner-for-CVE-2025-29927POC Details
53Next.js CVE-2025-29927 demonstrationhttps://github.com/dante01yoon/CVE-2025-29927POC Details
54Next.js Auth Bypass Lab ‐ CVE-2025-29927https://github.com/ayato-shitomi/WebLab_CVE-2025-29927POC Details
55Nonehttps://github.com/Kamal-418/Vulnerable-Lab-NextJS-CVE-2025-29927POC Details
56Next.js Middleware Bypass Vulnerability https://github.com/alastair66/CVE-2025-29927POC Details
57Next.js CVE-2025-29927 güvenlik açığı hakkındahttps://github.com/BilalGns/CVE-2025-29927POC Details
58Nonehttps://github.com/nyctophile0969/CVE-2025-29927POC Details
59A basic proof of concept of the CVE-2025-29927 vulnerability that allows to bypass the middleware scripts.https://github.com/Naveen-005/Next.Js-middleware-bypass-vulnerability-CVE-2025-29927POC Details
60Next.js and the corrupt middleware...TRY TO HACK IT..!https://github.com/Gokul-Krishnan-V-R/cve-2025-29927POC Details
61Next.js Middleware Authorization Bypass Tool (CVE-2025-29927)https://github.com/fahimalshihab/NextBypassPOC Details
62Nonehttps://github.com/sn1p3rt3s7/NextJS_CVE-2025-29927POC Details
63CVE-2025-29927 is a critical vulnerability in Next.js, a popular React-based web framework. The flaw exists in how the middleware feature handles certain internal headers — specifically, the x-middleware-subrequest headerhttps://github.com/Balajih4kr/cve-2025-29927POC Details
64vulnerable-nextjs-14-CVE-2025-29927https://github.com/YEONDG/nextjs-cve-2025-29927POC Details
65Next.js Middleware Bypass Scannehttps://github.com/gotr00t0day/CVE-2025-29927POC Details
66CVE-2025-29927https://github.com/pixilated730/NextJS-Exploit-POC Details
67CVE-2025-29927 ~ a poc of the next.js middleware authentication bypasshttps://github.com/ValGrace/middleware-auth-bypassPOC Details
68Nonehttps://github.com/goncalocsousa1/CVE-2025-29927POC Details
69Nonehttps://github.com/pickovven/vulnerable-nextjs-14-CVE-2025-29927POC Details
70Research on Next.js middleware vulnerability (CVE-2025-29927) allowing authorization bypass and potential exploits.https://github.com/l1uk/nextjs-middleware-exploitPOC Details
71Next.js CVE-2025-29927 Hunterhttps://github.com/darklotuskdb/nextjs-CVE-2025-29927-hunterPOC Details
72Next.js contains a critical middleware bypass vulnerability affecting versions 11.1.4 through 15.2.2. The vulnerability allows attackers to bypass middleware security controls by sending a specially crafted 'x-middleware-subrequest' header, which can lead to authorization bypass and other security control circumvention. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-29927.yamlPOC Details
73A critical vulnerability in Next.js middleware allows attackers to bypass authorization checks by manipulating the x-middleware-subrequest header. This flaw affects Next.js versions prior to 14.2.25 and 15.2.3, potentially granting unauthorized access to sensitive resources. https://github.com/projectdiscovery/nuclei-templates/blob/main/headless/cves/2025/CVE-2025-29927-HEADLESS.yamlPOC Details
74Nonehttps://github.com/Threekiii/Awesome-POC/blob/master/%E4%B8%AD%E9%97%B4%E4%BB%B6%E6%BC%8F%E6%B4%9E/Next.js%20%E4%B8%AD%E9%97%B4%E4%BB%B6%E9%89%B4%E6%9D%83%E7%BB%95%E8%BF%87%E6%BC%8F%E6%B4%9E%20CVE-2025-29927.mdPOC Details
75https://github.com/vulhub/vulhub/blob/master/next.js/CVE-2025-29927/README.mdPOC Details
76POC CVE-2025-29927https://github.com/ethanol1310/POC-CVE-2025-29927-POC Details
77Exploit for CVE-2025-29927 (Next.js) - Authorization Bypasshttps://github.com/UNICORDev/exploit-CVE-2025-29927POC Details
78Simulates CVE-2025-29927, a critical Next.js vulnerability allowing attackers to bypass middleware authorization by exploiting the internal x-middleware-subrequest HTTP header. Demonstrates unauthorized access to protected routes and provides mitigation strategies.https://github.com/Knotsecurity/CVE-2025-29927-NextJs-Middleware-SimulationPOC Details
79Nonehttps://github.com/mhamzakhattak/CVE-2025-29927POC Details
80New nuclei CVE https://github.com/emadshanab/CVE-2025-29927POC Details
81A touch of securityhttps://github.com/bitdotioinc/CVE-2025-29927POC Details
82> 🔓 Proof-of-Concept for a fictional Next.js middleware bypass (CVE-2025-29927) — craft sub-requests to test protected routes.https://github.com/m2hcz/PoC-for-Next.js-MiddlewarePOC Details
83CVE-2025-29927에 대한 설명 및 리서치https://github.com/AventurineJun/CVE-2025-29927-ResearchPOC Details
84CVE-2025-29927: Next.js Middleware Exploithttps://github.com/luq0x/0xMiddlewarePOC Details
85Nonehttps://github.com/0xnxt1me/CVE-2025-29927POC Details
86Nonehttps://github.com/enochgitgamefied/NextJS-CVE-2025-29927POC Details
87Nonehttps://github.com/Grand-Moomin/Vuln-Next.js-CVE-2025-29927POC Details
88Nonehttps://github.com/pouriam23/Next.js-Middleware-Bypass-CVE-2025-29927-POC Details
89CVE-2025-29927: Next.js Middleware Bypass Vulnerabilityhttps://github.com/kh4sh3i/CVE-2025-29927POC Details
90Next.js middleware bypass exploithttps://github.com/EQSTLab/CVE-2025-29927POC Details
91Next js middlewareauth Bypass https://github.com/Hirainsingadia/CVE-2025-29927POC Details
92CVE-2025-29927https://github.com/hed1ad/CVE-2025-29927POC Details
93This is a CVE-2025-29927 Scanner.https://github.com/HoumanPashaei/CVE-2025-29927POC Details
94Nonehttps://github.com/rubbxalc/CVE-2025-29927POC Details
95Nonehttps://github.com/olimpiofreitas/CVE-2025-29927_scannerPOC Details
96Next.js Auth Bypass PoC Edge Runtime Env Leak via Middleware Bughttps://github.com/moften/CVE-2025-29927POC Details
97x-middleware exploit for next.js CVE-2023–46298 cache poisoning and CVE-2025-29927 bypasshttps://github.com/EarthAngel666/x-middleware-exploitPOC Details
98Nonehttps://github.com/enochgitgamefied/NextJS-CVE-2025-29927-Docker-LabPOC Details
99🔐 Python-based smart scanner for CVE-2025-29927 — Next.js middleware authentication bypass vulnerability. Detects meta refresh, keyword-based redirects, and more.https://github.com/sagsooz/CVE-2025-29927POC Details
100vulnerable-nextjs-14-CVE-2025-29927https://github.com/SugiB3o/vulnerable-nextjs-14-CVE-2025-29927POC Details
101CVE-2025-29927https://github.com/B1ack4sh/Blackash-CVE-2025-29927POC Details
102Nonehttps://github.com/amitlttwo/Next.JS-CVE-2025-29927POC Details
103Nonehttps://github.com/KamalideenAK/poc-cve-2025-29927POC Details
104CVE-2025-29927 PoC | Auth Bypass Exploit | Python Tool using httpx | Middleware Vulnerability | Ethical Hacking Toolkithttps://github.com/mickhacking/Thank-u-NextPOC Details
105CVE‑2025‑29927 is a critical vulnerability (CVSS 9.1) in Next.js that allows attackers to bypass middleware‑based security checks.https://github.com/Kamal-Hegazi/CVE-2025-29927-Next.js-Middleware-Authorization-BypassPOC Details
106Authorization Bypass in Next.js Middlewarehttps://github.com/dedibagus/cve-2025-29927-pocPOC Details
107Nonehttps://github.com/olimpiofreitas/CVE-2025-29927-scannerPOC Details
108The POC for m6.fr websitehttps://github.com/sahbaazansari/CVE-2025-29927POC Details
109A touch of securityhttps://github.com/newweshi/CVE-2025-29927POC Details
110→ poc for CVE-2025-29927https://github.com/b4sh0xf/PoC-CVE-2025-29927POC Details
111🔓 Next.js Auth Bypass Demo - Educational application demonstrating CVE-2025-29927 middleware authentication bypass vulnerability . ⚠️ For educational use only.https://github.com/aayush256-sys/next-js-auth-bypassPOC Details
112Nonehttps://github.com/rgvillanueva28/vulnbox-easy-CVE-2025-29927POC Details
113CVE-2025-29927에 대한 설명 및 리서치https://github.com/Haruaventure/CVE-2025-29927-ResearchPOC Details
114Nonehttps://github.com/R3verseIN/Nextjs-middleware-vulnerable-appdemo-CVE-2025-29927POC Details
115PoC | NextJS Middleware 15.2.2 - Authorization Bypass https://github.com/zs1n/CVE-2025-29927POC Details
116CVE-2025-29927에 대한 설명 및 리서치https://github.com/AventurineJ/CVE-2025-29927-ResearchPOC Details
117This repository contains **research and analysis** related to CVE-2025-29927. It demonstrates safe, controlled testing approaches for a path traversal/middleware misconfiguration vulnerability in web applications.https://github.com/MKIRAHMET/CVE-2025-29927-PoCPOC Details
118do not use. vulnerablehttps://github.com/adjscent/vulnerable-nextjs-14-CVE-2025-29927POC Details
119Nonehttps://github.com/sdrtba/CVE-2025-29927POC Details
120Nonehttps://github.com/JOOJIII/CVE-2025-29927POC Details
121Nonehttps://github.com/iteride/CVE-2025-29927POC Details
122CVE-2025-29927https://github.com/sermikr0/nextjs-middleware-auth-bypassPOC Details
123Next.js middleware auth-bypass lab (CVE-2025-29927 simulation)https://github.com/amalpvatayam67/day10-nextjs-middleware-labPOC Details
124CVE‑2025‑29927 is a critical vulnerability (CVSS 9.1) in Next.js that allows attackers to bypass middleware‑based security checks.https://github.com/0xh3g4z1/CVE-2025-29927-Next.js-Middleware-Authorization-BypassPOC Details
125CVE-2025-29927에 대한 설명 및 리서치https://github.com/Viperazor/CVE-2025-29927-ResearchPOC Details
126Nonehttps://github.com/kuyrathdaro/cve-2025-29927POC Details
127Simple script to attempt a Bypass on a server possibly vulnerable to CVE-2025-29927 (Next.js Middleware)https://github.com/diogolourencodev/middleforcePOC Details
128Reproduction and fix of the CVE-2025-29927 vulnerability.https://github.com/Bongni/CVE-2025-29927POC Details
129Next.js Auth Bypass PoC Edge Runtime Env Leak via Middleware Bughttps://github.com/moften/CVE-2025-29927_Next.js_Auth_BypassPOC Details
130Una CTF, in formato DSP-compliant, basata sulla CVE-2025-29927 di nextjs.https://github.com/NS-Projects-Unina/CTF_CVE_DSP_1POC Details
131Nonehttps://github.com/lucaschanzx/CVE-2025-29927-PoCPOC Details
132Nonehttps://github.com/BugHawak/CVE-2025-29927POC Details
133🔓 Next.js Auth Bypass Demo - Educational application demonstrating CVE-2025-29927 middleware authentication bypass vulnerability . ⚠️ For educational use only.[Made using Ai]https://github.com/kazuya256/next-js-auth-bypassPOC Details
134Ghost Route detects if a Next JS site is vulnerable to the corrupt middleware bypass bug (CVE-2025-29927)https://github.com/phoscoder/ghost-routePOC Details
135CVE-2025-29927https://github.com/Ashwesker/Blackash-CVE-2025-29927POC Details
136PoC for testing CVE-2025-29927 for Next.js versions 11.x, 12.x <= 12.3.5, 13.x <= 13.5.9, 14.x <=14.2.25, 15.x <= 15.2.3https://github.com/liamromanis101/CVE-2025-29927-NextJSPOC Details
137Nonehttps://github.com/radzek15/CVE-2025-29927-Next.js-middlewarePOC Details
138A touch of securityhttps://github.com/w3shinew/CVE-2025-29927POC Details
139CVE-2025-29927https://github.com/Ashwesker/Ashwesker-CVE-2025-29927POC Details
140Interactive cybersecurity threat intelligence dashboard with 5 critical vulnerabilities, CVSS scoring, exploitation analysis, and bug bounty hunting guides (TE.0, CVE-2025-29927, Shadow AI, Kimwolf, LastPass)https://github.com/N3k0t-dev/bughunter-cyber-intel-dashboardPOC Details
141Next.js CVE-2025-29927 güvenlik açığı hakkındahttps://github.com/0xb1lal/CVE-2025-29927POC Details
142演示 Next.js 中的 Middleware 授權繞過漏洞 (CVE-2025-29927) 允許未經授權的用戶存取受保護的資訊。https://github.com/lstudlo/nextjs-cve-demoPOC Details
143A Proof of Concept for CVE-2025-29927 demonstrating a middleware bypass in Next.js versions prior to 13.5.9https://github.com/DanielHallbro/CVE-2025-29927-Nextjs-Bypass-PoCPOC Details
144Capture the Flag challenge: CVE-2025-29927 in combination with a command injection vulnerabilityhttps://github.com/Si-Ni/CVE-2025-29927-Proof-of-ConceptPOC Details
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-29927

登录查看更多情报信息。

IV. Related Vulnerabilities

V. Comments for CVE-2025-29927

No comments yet


Leave a comment