Skip to main content
Mallory
← Back to News
proof-of-concept-releaserapid-weaponizationinternet-facing-service-vulnerabilitydetection-content-update

Next.js Middleware Authentication Bypass Spurs Public PoCs and Scanners

Patch & Detection Intelligence · 17 sources · Updated 4mo ago · First seen May 25, 2026

Next.js Middleware Authentication Bypass Spurs Public PoCs and Scanners

A critical Next.js flaw tracked as CVE-2025-29927 exposed applications using middleware-based authorization to authentication and authorization bypass, allowing protected routes to be reached without intended access checks. Public reporting described the issue as a middleware bypass bug affecting deployments that relied on Next.js middleware for security decisions, prompting urgent guidance for defenders to identify exposed internet-facing applications and remediate vulnerable implementations.

The vulnerability was rapidly operationalized after disclosure, with multiple GitHub repositories publishing proof-of-concept exploits, vulnerable demo apps, Docker labs, and automated detection tools. These included scanners and hunters designed to identify susceptible Next.js sites, as well as exploitation-focused projects advertising middleware auth bypass and route access validation, increasing the likelihood of broad reconnaissance and opportunistic abuse against unpatched environments.

Patch this, or something else?See real exploitation activity before you spend the cycle.
Triage this advisory
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

11 events · Mar 23, 2025 – Oct 9, 2025
  1. Oct 9, 20251y ago

    PoC highlights possible Edge Runtime environment leak angle

    A GitHub repository described a Next.js authentication bypass proof of concept tied to CVE-2025-29927 and referenced an Edge Runtime environment leak via the middleware bug. This added a new technical angle to public research around the vulnerability.

  2. Sep 22, 20251y ago

    New CVE-2025-29927 repository published

    A further GitHub repository dedicated to CVE-2025-29927 appeared, indicating ongoing public discussion and reposting of material related to the vulnerability.

  3. Aug 19, 20251y ago

    Additional vulnerable app demo for CVE-2025-29927 published

    Another GitHub repository released a vulnerable application demo for the Next.js middleware bypass, extending the set of public training and reproduction resources.

  4. Jul 12, 20251y ago

    Educational auth bypass demo for CVE-2025-29927 released

    A GitHub repository published an educational Next.js authentication bypass demo for CVE-2025-29927, showing continued interest in reproducing the flaw months after initial disclosure.

  5. May 23, 20251y ago

    Docker lab for CVE-2025-29927 published

    A Docker-based lab environment for CVE-2025-29927 was published on GitHub, providing a packaged setup for reproducing and studying the Next.js middleware bypass.

  6. Apr 24, 20252y ago

    More public exploit and educational repositories emerge

    Throughout April 2025, multiple additional GitHub repositories appeared covering CVE-2025-29927, including exploit material, educational write-ups, and automated scanners that could optionally attempt exploitation. This reflects sustained community attention and growing accessibility of offensive and defensive tooling.

  7. Mar 28, 20252y ago

    Detection and demo tooling for CVE-2025-29927 continues to expand

    Additional repositories released a vulnerability detector ('ghost-route') and another demo environment for reproducing the Next.js middleware bypass. Public tooling around the flaw continued to mature after initial disclosure.

  8. Mar 27, 20252y ago

    Scanner tools released to identify vulnerable Next.js sites

    GitHub repositories began publishing scanner tools to test whether websites were vulnerable to CVE-2025-29927. This expanded the issue from proof-of-concept exploitation to broader internet-scale detection activity.

  9. Mar 25, 20252y ago

    Further exploit code for CVE-2025-29927 is published

    Another GitHub repository dedicated to CVE-2025-29927 was published, indicating continued public sharing of exploit or reproduction material for the Next.js vulnerability.

  10. Mar 24, 20252y ago

    Additional demos and public reporting spread details of CVE-2025-29927

    More GitHub demo repositories for the Next.js middleware bypass appeared, and public security reporting described CVE-2025-29927 as a critical middleware authentication bypass issue affecting Next.js deployments. The reporting focused on what defenders should know and how to respond.

  11. Mar 23, 20252y ago

    PoC for Next.js middleware auth bypass appears on GitHub

    A public proof-of-concept repository for CVE-2025-29927, describing an authorization bypass in Next.js middleware, was published on GitHub. This marks early public weaponization and technical disclosure of the issue.

Do you run this?See real exploitation activity behind this advisory so you can triage it against everything else in the queue.
Prioritize This Patch
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.