CRITICALCVSS v4 9.1Vulnerability

CVE-2026-114139

### 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/getsentry/sentry-javascript/releases/tag/10.75.2) and [11.0.0-rc.1](https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0-rc.1). The skip now matches only the requests the tunnel rewrite actually serves. No configuration change is needed. ### Workarounds - Set `tunnelRoute` to a path no route of yours can resolve under, or remove the option. - Build with Turbopack (default for `next build` from Next.js 16). - Enforce authorization in the route, layout or data-access path as well as in mi

Properties

Summary
Sentry-Javascript: Middleware Bypass when using Tunnel route
Severity
critical
Nvd fetched at
2026-10-22T22:14:18.200859+00:00
Epss score
0.00407
Cvss score
9.1
Cvss severity
CRITICAL
Retrieved at
2026-10-22T22:17:33+00:00
Ghsa published
2026-10-22T15:55:07Z
Source url
https://github.com/advisories/GHSA-mchm-gjx6-7h55
Ghsa updated
2026-10-22T15:55:08Z
Ghsa id
GHSA-mchm-gjx6-7h55
Last source
FIRST EPSS
Score
9.1
Cvss version
4.0
Cve id
CVE-2026-114139
Cvss vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
First seen by Signal
2026-10-21T22:34:38+00:00
Is ghsa only
false
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published at
2026-10-21T21:17:56.353

Related Entities (3)

AFFECTS (1)

→[Software]npm/@sentry/nextjs

HAS_WEAKNESS (1)

VULNERABLE_TO (1)

←[Software]npm/@sentry/nextjs

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-114139 (CVSS v4 9.1) — Ninja Signal Threat Intelligence | Ninja Signal