CVE-2026-114139 — Vulnerability in @sentry/nextjs — CVE Details
Sentry-Javascript: Middleware Bypass when using Tunnel route
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.72%). Schedule for your next planned update.
Does your project use an affected @sentry/nextjs version?
Paste your package-lock.json to check it for CVE-2026-114139 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
The tunnelRoute option makes the SDK send browser events to a path on your own Next.js server (for example /monitoring), where a rewrite forwards them to Sentry to prevent ad blockers from blocking them. To keep those envelope requests from being rejected by your middleware, the SDK skips middleware for them.
The middleware skip was wider than the rewrite. The rewrite only serves requests to the tunnel path itself with the o and p parameters set. The skip applied to anything under the tunnel path. Requests in that gap go to your application instead of Sentry, and your middleware never runs on them.
Skipping middleware does not grant the request any privileges. Routes that check the session server-side are still protected.
You are affected only if all of the following are true:
tunnelRouteis set (a string path ortrue),- your app is built with webpack (Turbopack builds are not affected),
- some route of your application resolves under the tunnel path. That could be a direct collision (
/monitoring/foowithtunnelRoute: '/monitoring') or a dynamic segment at the route root (app/[locale]/…), which matches any first path segment, and - your middleware is the only place that enforces authorization for those routes.
Sentry's own services, and the data in your Sentry organization, are not affected.
Patches
Fixed in 9.47.2, 10.75.2 and 11.0.0-rc.1. The skip now matches only the requests the tunnel rewrite actually serves. No configuration change is needed.
Workarounds
- Set
tunnelRouteto a path no route of yours can resolve under, or remove the option. - Build with Turbopack (default for
next buildfrom Next.js 16). - Enforce authorization in the route, layout or data-access path as well as in middleware.
Advisory Timeline
- First published October 22, 2026 (35 days ago).
- Last revised October 22, 2026 — 0 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install @sentry/nextjs@11.0.0-rc.1
npm install @sentry/nextjs@10.75.2
npm install @sentry/nextjs@9.47.2
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: npm (1).
| Package | Fixed In |
|---|---|
| @sentry/nextjs npm · Affected: All versions | 11.0.0-rc.1 |
| @sentry/nextjs npm · Affected: All versions | 10.75.2 |
| @sentry/nextjs npm · Affected: All versions | 9.47.2 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-693Protection Mechanism FailureMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.6 score means for each attack dimension.
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-7h55WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-114139ADVISORY
- https://github.com/getsentry/sentry-javascript/pull/24499WEB
- https://github.com/getsentry/sentry-javascript/pull/24565WEB
- https://github.com/getsentry/sentry-javascript/pull/24760WEB
- https://github.com/getsentry/sentry-javascript/commit/878b685c85dc12045e47e1932c96f5381d7ac532WEB
- https://github.com/getsentry/sentry-javascript/commit/c122aac4f29541eb6da494296822c91eab3cf5aeWEB
- https://github.com/getsentry/sentry-javascript/commit/d525a2f6015b47384bc139c30d58e0d5435d52e5WEB
- https://github.com/getsentry/sentry-javascriptPACKAGE
- https://github.com/getsentry/sentry-javascript/releases/tag/10.75.2WEB
- https://github.com/getsentry/sentry-javascript/releases/tag/11.0.0-rc.1WEB
- https://github.com/getsentry/sentry-javascript/releases/tag/9.47.2WEB
Frequently Asked Questions
- What is CVE-2026-114139?
- Sentry-Javascript: Middleware Bypass when using Tunnel route. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 8.6/10).
- How do I check if my project is affected by CVE-2026-114139?
- CVE-2026-114139 affects @sentry/nextjs. It has a 0.7% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-114139 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 49.5% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-76807CRITICAL
Todoist MCP Server: Browser DNS rebinding lets websites write and delete Todoist data through local MCP server
- CVE-2026-114516CRITICAL
Etherpad: Pre-auth arbitrary file read
- CVE-2025-65944MEDIUM
Sentry's sensitive headers are leaked when `sendDefaultPii` is set to `true`