Access Control Bypass Affecting @sentry/nextjs package, versions >=9.36.0 <9.47.2>=10.0.0-alpha.0 <10.75.2>=11.0.0-alpha.0 <11.0.0-rc.1


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.41% (34th 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 Learn

Learn about Access Control Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-SENTRYNEXTJS-21431587
  • published22 Oct 2026
  • disclosed22 Oct 2026
  • creditUnknown

Introduced: 22 Oct 2026

NewCVE-2026-114139  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade @sentry/nextjs to version 9.47.2, 10.75.2, 11.0.0-rc.1 or higher.

Overview

@sentry/nextjs is an Official Sentry SDK for Next.js

Affected versions of this package are vulnerable to Access Control Bypass via the isPathnameUnderSentryTunnelRoute function in wrapMiddlewareWithSentry.ts when the tunnel route feature is enabled. The middleware wrapper incorrectly matches any request whose path begins with the tunnel route prefix, while the tunnel rewrite only serves the exact route with valid numeric o and p query parameters. An attacker can craft a request to a path under the tunnel route that bypasses the user's Next.js middleware entirely, as the middleware returns a pass-through response without invoking the wrapped handler.

Note: This is only exploitable if the Sentry tunnel route feature is configured in the Next.js application.

CVSS Base Scores

version 4.0
version 3.1