Loading0%
SUBZER0
LIVE
Alerts

CVE-2026-114139

Sentry-Javascript: Middleware Bypass when using Tunnel route

Archived. This CVE has left SubZer0's live 30-day window. Signals below are as of 2026-11-21; check the references for anything newer.

  • Severity: Critical
  • CVSS 9.1
  • EPSS 0.51%
  • P2 · This week

Why P2: this week.

Description

### Impact The `tunnelRoute` option makes the SDK send browser events to a path on your own Next.js server (for example `/monitoring`), where a rewrite forwards them to Sentry to prevent ad blockers from blocking them. To keep those envelope requests from being rejected by your middleware, the SDK skips middleware for them. The middleware skip was wider than the rewrite. The rewrite only serves requests to the tunnel path itself with the `o` and `p` parameters set. The skip applied to anything under the tunnel path. Requests in that gap go to your application instead of Sentry, and your middleware never runs on them. Skipping middleware does not grant the request any privileges. Routes that check the session server-side are still protected. You are affected only if **all** of the following are true: 1. `tunnelRoute` is set (a string path or `true`), 2. your app is built with **webpack** (Turbopack builds are not affected), 3. some route of your application resolves under the tunnel path. That could be a direct collision (`/monitoring/foo` with `tunnelRoute: '/monitoring'`) or a dynamic segment at the route root (`app/[locale]/…`), which matches any first path segment, and 4. your middleware is the only place that enforces authorization for those routes. Sentry's own services, and the data in your Sentry organization, are not affected. ### Patches Fixed in [9.47.2](https://github.com/getsentry/sentry-javascript/releases/tag/9.47.2), [10.75.2](https://github.com/getsen…

Affected products

  • npm @sentry/nextjs >= 10.0.0-alpha.0, < 10.75.2; first patched: 10.75.2
  • npm @sentry/nextjs >= 11.0.0-alpha.0, < 11.0.0-rc.1; first patched: 11.0.0-rc.1
  • npm @sentry/nextjs >= 9.36.0, < 9.47.2; first patched: 9.47.2

References

Browse more

npm packagesWeek 43, 2026 recap

Published 2026-10-21 · sources: GitHub Advisory Database