Vulnerability · Published Oct 21, 2026 · Assigned by GitHub_M
CVE-2026-114139Sentry-Javascript: Middleware Bypass when using Tunnel route
Critical 9.1
In plain English
A critical-severity security flaw in sentry-javascript from getsentry. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 44% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Sentry-Javascript is an official Sentry SDKs for JavaScript. From 9.36.0 until 9.47.2, 10.75.2, and 11.0.0-rc.1, the webpack integration for @sentry/nextjs skips application middleware for every request path under a configured tunnelRoute, while the tunnel rewrite serves only the exact tunnel path with valid o and p query parameters. When an application route directly collides with the tunnel path or a root dynamic segment resolves under it, an unauthenticated request can reach that route without middleware authorization. Exploitation requires tunnelRoute, a webpack build, a colliding route, and middleware being the only authorization control. This issue is fixed in versions 9.47.2, 10.75.2, and 11.0.0-rc.1.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @sentry/nextjs | 9.47.2 | GHSA-mchm-gjx6-7h55 |
| npm | @sentry/nextjs | 10.75.2 | GHSA-mchm-gjx6-7h55 |
| npm | @sentry/nextjs | 11.0.0-rc.1 | GHSA-mchm-gjx6-7h55 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| getsentry | sentry-javascript | >= 9.36.0, < 9.47.2>= 10.0.0-alpha.0, < 10.75.2>= 11.0.0-alpha.0, < 11.0.0-rc.1 |
Weakness: CWE-693 · 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
References
- https://github.com/getsentry/sentry-javascript/security/advisories/GHSA-mchm-gjx6-7h55 x_refsource_CONFIRM
- https://github.com/getsentry/sentry-javascript/pull/24499 x_refsource_MISC
- https://github.com/getsentry/sentry-javascript/pull/24565 x_refsource_MISC
- https://github.com/getsentry/sentry-javascript/pull/24760 x_refsource_MISC
- https://github.com/getsentry/sentry-javascript/commit/878b685c85dc12045e47e1932c96f5381d7ac532 x_refsource_MISC
- https://github.com/getsentry/sentry-javascript/commit/c122aac4f29541eb6da494296822c91eab3cf5ae x_refsource_MISC
- https://github.com/getsentry/sentry-javascript/commit/d525a2f6015b47384bc139c30d58e0d5435d52e5 x_refsource_MISC
- https://github.com/getsentry/sentry-javascript/releases/tag/10.75.2 x_refsource_MISC
- https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0-rc.1 x_refsource_MISC
- https://github.com/getsentry/sentry-javascript/releases/tag/9.47.2 x_refsource_MISC