Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify app route colliding with configured tunnelRoute
-
ExploitSend unauthenticated request under tunnel path
-
ExecutionMiddleware authorization skipped by Sentry integration
-
ImpactReach protected route and read/act without authorization
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Protection mechanism completeness
|
| Exploitation Conditions | All of the following must hold simultaneously: (1) a tunnelRoute is configured in @sentry/nextjs; (2) the app is built with webpack (not Turbopack), which activates the vulnerable middleware-skip logic; (3) an application route directly collides with the tunnel path, or a root-level dynamic segment resolves under it; and (4) middleware is the only authorization control protecting that route. The vulnerable code skipped middleware for every path under tunnelRoute, whereas the actual tunnel rewrite serves only the exact tunnel path with valid numeric o and p query parameters on a POST request. Limiting factors: these are non-default, configuration-dependent conditions; apps that enforce authorization at the route/handler layer (not solely in middleware), that do not set tunnelRoute, or that build with Turbopack are not exposed. |
| Impact | This is a genuine authorization-bypass (CWE-693, Protection Mechanism Failure) in the @sentry/nextjs webpack integration, and the CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H) correctly frames it as a network-reachable, unauthenticated flaw with high confidentiality and integrity impact - hence the 9.1 score. However, the single most important signal is AT:P (Attack Requirements: Present): exploitation is gated behind a conjunction of non-default conditions, which materially lowers real-world risk below what the 9.1 headline suggests. No EPSS score, KEV listing, or public POC was provided, so there is no public exploit identified at time of analysis and no evidence of active exploitation; the vendor-published GitHub Security Advisory (GHSA-mchm-gjx6-7h55) and fix commits are the primary evidence. The 'Information Disclosure' tag understates the issue - the integrity impact (VI:H) means an attacker can reach protected routes to perform actions, not merely read data. Net: treat as a high-priority patch for the narrow population of apps that match the preconditions (tunnelRoute + webpack + a colliding route where middleware is the only authz control), but it is not a mass-exploitable, default-configuration flaw. |
| Exploit ScenarioDerived | A Next.js app uses @sentry/nextjs with a configured tunnelRoute and a webpack build, and relies on middleware as its only authorization gate. An unauthenticated attacker sends a request to an application route that collides with the tunnel path (or a root dynamic segment resolving under it); the Sentry webpack integration skips middleware for that path, so the request reaches the protected route without authorization. No public exploit code was identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 21, 2026
Authorization bypass in the Sentry Next.js SDK affects @sentry/nextjs from 9.36.0 before 9.47.2, 10.x before 10.75.2, and 11.0.0-rc.1 when the webpack integration is used with a configured tunnelRoute. An unauthenticated remote request can reach an application route that collides with the tunnel path, or resolves through a root dynamic segment, without the middleware authorization that would otherwise run; exploitation additionally requires a webpack build, a colliding route, and middleware being the sole authorization control. The flaw is fixed in 9.47.2, 10.75.2, and 11.0.0-rc.1, and no public exploit was identified at time of analysis.
RemediationAI
Upgrade @sentry/nextjs to 9.47.2, 10.75.2, or 11.0.0-rc.1, or later, using the vendor advisory https://github.com/getsentry/sentry-javascript/security/advisories/GHSA-mchm-gjx6-7h55; the fixes are in PRs 24499, 24565, and 24760 and commits 878b685c85dc12045e47e1932c96f5381d7ac532, c122aac4f29541eb6da494296822c91eab3cf5ae, and d525a2f6015b47384bc139c30d58e0d5435d52e5. If immediate upgrade is not possible, remove or change tunnelRoute so it cannot collide with an application route or a root dynamic segment, and enforce authorization in route handlers/API handlers rather than relying solely on middleware for colliding paths; removing the tunnel can cause ad blockers to drop Sentry event traffic, and changing the path requires updating client configuration. Building with Turbopack avoids the vulnerable webpack middleware-skip path per the assessment but requires a build-system migration and retesting.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a CWE-693 protection-mechanism failure in @sentry/nextjs's webpack middleware wrapper. The SDK's tunnelRoute feature rewrites only exact POST requests to the configured tunnel pathname and requires numeric o and p query parameters, but the vulnerable middleware-skip check used a broader pathname-under-tunnelRoute test. Consequently, requests to subpaths or colliding application routes bypassed user middleware even though no Sentry tunnel rewrite would serve them. The patch replaces the broad check with isSentryTunnelRequest, validating POST method, exact path or trailing slash, and all o and p values as digits; CPE data identifies getsentry:sentry-javascript, and the vulnerable behavior is in the Next.js SDK integration rather than the core JavaScript SDK.
Know when Next.js gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Unauthenticated and network-reachable (PR:N, AV:N), but requires a specific colliding-route + tunnelRoute + webpack configuration, so AC:H; unauthorized route access breaks both confidentiality and integrity with no availability impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
Bug class: CWE-693, Protection Mechanism Failure.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
The Sentry Next.js SDK (@sentry/nextjs) has a critical authorization-bypass flaw that can let remote requests reach application routes colliding with a configured tunnel path or resolving through a root dynamic segment without the expected middleware authorization check. This affects Next.js applications using the webpack integration with tunnelRoute in versions 9.36.0 before 9.47.2, 10.x before 10.75.2, and 11.0.0-rc.1; leadership should care because protected application routes may be reachable when middleware is the sole access control, although exploitation requires that specific configuration and no public exploit was identified at time of analysis.
Apply vendor patch (9.47.2, 10.75.2, or 11.0.0-rc.1); if immediate upgrade is not possible, remove the tunnelRoute setting or disable the webpack integration, and enforce authorization outside middleware for any colliding or root dynamic-segment routes.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Next.js versions 1.11.4 through 15.2.2 contain a critical middleware authorization bypass via the x-middleware-subreques
ZEIT Next.js before 2.4.1 has directory traversal under the /_next and /static request namespace, allowing attackers to
Improper restriction of excessive authentication attempts (CWE-307) in the 9Router AI router package (decolua/9router) b
A remote code execution vulnerability (CVSS 9.1). Critical severity with potential for significant impact on affected sy
Authentication/authorization bypass in Clerk's official JavaScript SDKs (@clerk/nextjs, @clerk/nuxt, @clerk/astro, and t
Server-side request forgery in the Progress Sitefinity Next.js SDK npm package (@progress/sitefinity-nextjs-sdk, version
Prototype pollution in tRPC's @trpc/server package, specifically within the `formDataToObject` function used by the expe
A security vulnerability in Next.js applications. In Auth0 Next.js SDK (CVSS 7.7). High severity vulnerability requiring
Unauthenticated remote attackers can repeatedly invoke the revalidateProducts Server Action in the MarcosCamara01 Ecomme
Unauthenticated remote attackers can call the cleanCache handler in NotionNext's pages/api/cache.js to force cache inval
Concurrent token requests handled by the Auth0 Next.js SDK can be resolved through an internal in-flight request cache t
Next.js is a React framework for building full-stack web applications. Rated low severity (CVSS 3.7), this vulnerability
EUVD-2026-107549
GHSA-mchm-gjx6-7h55
NVD
CVE.org
EPSS
Exploit-DB