Skip to content

CVE-2026-114139 Sentry-Javascript: Middleware Bypass when using Tunnel route

CriticalCVSS 9.1 EPSS 0.51%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
sentry @sentry/nextjs(npm) >= 9.36.0, < 9.47.2; >= 10.0.0-alpha.0, < 10.75.2; >= 11.0.0-alpha.0, < 11.0.0-rc.1 9.47.2, 10.75.2, 11.0.0-rc.1 Fixed
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 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
getsentry sentry-javascript = >= 9.36.0, < 9.47.2 No fix listed
getsentry sentry-javascript = >= 10.0.0-alpha.0, < 10.75.2 No fix listed
getsentry sentry-javascript = >= 11.0.0-alpha.0, < 11.0.0-rc.1 No fix listed
sentry @sentry/nextjs(npm) >= 9.36.0, < 9.47.2 9.47.2
sentry @sentry/nextjs(npm) >= 10.0.0-alpha.0, < 10.75.2 10.75.2
sentry @sentry/nextjs(npm) >= 11.0.0-alpha.0, < 11.0.0-rc.1 11.0.0-rc.1

References