Skip to main content

Sentry Next.js SDK CVE-2026-114139

| EUVDEUVD-2026-107549 CRITICAL
Protection Mechanism Failure (CWE-693)
2026-10-21 GitHub_M GHSA-mchm-gjx6-7h55
9.1
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify app route colliding with configured tunnelRoute
  2. Exploit
    Send unauthenticated request under tunnel path
  3. Execution
    Middleware authorization skipped by Sentry integration
  4. Impact
    Reach 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

sentry-javascript 10.0.0-alpha.0, < 10.75.2
sentry-javascript 11.0.0-alpha.0, < 11.0.0-rc.1
sentry-javascript 9.36.0, < 9.47.2

Affected Packages

euvd sentry_javascript fix: 9.47.2, 10.75.2, 11.0.0-rc.1

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

Vendor (GitHub_M) PRIMARY 9.1 CRITICAL
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
vuln.today AI 7.4 HIGH

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Oct 21, 2026 - 22:03 EUVD
CVE Published
Oct 21, 2026 - 20:14 cve.org
CRITICAL 9.1

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.4%
Top 66% exploitable
Prevalence
High
Sentry JavaScript SDK is widely deployed across Next.js production apps
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2025-29927 CRITICAL POC
9.1 Mar 21

Next.js versions 1.11.4 through 15.2.2 contain a critical middleware authorization bypass via the x-middleware-subreques

CVE-2017-16877 HIGH POC
7.5 Nov 17

ZEIT Next.js before 2.4.1 has directory traversal under the /_next and /static request namespace, allowing attackers to

CVE-2026-56682 MEDIUM POC
5.3 Sep 22

Improper restriction of excessive authentication attempts (CWE-307) in the 9Router AI router package (decolua/9router) b

CVE-2025-6087 CRITICAL
9.1 Jun 16

A remote code execution vulnerability (CVSS 9.1). Critical severity with potential for significant impact on affected sy

CVE-2026-41248 CRITICAL
9.1 Apr 24

Authentication/authorization bypass in Clerk's official JavaScript SDKs (@clerk/nextjs, @clerk/nuxt, @clerk/astro, and t

CVE-2026-92931 HIGH
8.8 Oct 05

Server-side request forgery in the Progress Sitefinity Next.js SDK npm package (@progress/sitefinity-nextjs-sdk, version

CVE-2025-68130 HIGH
8.5 Dec 16

Prototype pollution in tRPC's @trpc/server package, specifically within the `formDataToObject` function used by the expe

CVE-2025-48947 HIGH
7.7 Jun 04

A security vulnerability in Next.js applications. In Auth0 Next.js SDK (CVSS 7.7). High severity vulnerability requiring

CVE-2026-91154 MEDIUM
6.9 Sep 28

Unauthenticated remote attackers can repeatedly invoke the revalidateProducts Server Action in the MarcosCamara01 Ecomme

CVE-2026-101004 MEDIUM
6.9 Sep 28

Unauthenticated remote attackers can call the cleanCache handler in NotionNext's pages/api/cache.js to force cache inval

CVE-2025-67490 MEDIUM
5.4 Dec 10

Concurrent token requests handled by the Auth0 Next.js SDK can be resolved through an internal in-flight request cache t

CVE-2025-32421 LOW
3.7 May 14

Next.js is a React framework for building full-stack web applications. Rated low severity (CVSS 3.7), this vulnerability

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy