Authentication Bypass Using an Alternate Path or Channel Affecting next package, versions >=15.2.0-canary.0 <15.5.16>=16.0.0-beta.0 <16.2.5


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (13th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-NEXT-16638685
  • published11 May 2026
  • disclosed11 May 2026
  • creditUnknown

Introduced: 11 May 2026

NewCVE-2026-44575  (opens in a new tab)
CWE-288  (opens in a new tab)

How to fix?

Upgrade next to version 15.5.16, 16.2.5 or higher.

Overview

next is a react framework.

Affected versions of this package are vulnerable to Authentication Bypass Using an Alternate Path or Channel in the handling of segment-prefetch routes. An attacker can gain unauthorized access to protected content by crafting .rsc and segment-prefetch URLs that bypass intended authorization checks in middleware or proxy-based configurations.

Notes:

  • This is only exploitable if authorization is enforced solely through middleware or proxy checks, and not within the underlying route or page logic.
  • This fix is incomplete and does not cover middleware.ts with Turbopack enabled. For additional details see CVE-2026-45109

Workaround

This vulnerability can be mitigated by enforcing authorization within the underlying route or page logic rather than relying solely on middleware.

CVSS Base Scores

version 4.0
version 3.1