Sentry-Javascript
Sentry-Javascript: Middleware Bypass when using Tunnel route
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 9.36.0, < 9.47.2
- >= 10.0.0-alpha.0, < 10.75.2
- >= 11.0.0-alpha.0, < 11.0.0-rc.1
Fixed in 9.47.2, 10.75.2, 11.0.0-rc.1
Mitigation
Upgrade sentry-javascript to 9.47.2 or 10.75.2 or 11.0.0-rc.1 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.