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


- **Severity:** Critical 9.1 (`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`)
- **Exploited in the wild:** Not known
- **Fix available:** Yes
- **Published:** 21 Oct 2026
- **Updated:** 28 Oct 2026
- **Also known as:** ECHO-bc46-68ba-ff1a, GHSA-mchm-gjx6-7h55

## What is CVE-2026-114139?

CVE-2026-114139 is a critical vulnerability in getsentry sentry-javascript, published on 21 Oct 2026. 

### Official 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.

Weakness: CWE-693 (Protection Mechanism Failure)

## Which versions are affected by CVE-2026-114139?

6 open source packages ship an affected version, including @sentry/nextjs.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `@sentry/nextjs` | npm | From 10.0.0-alpha.0 | 10.75.2 |
| `@sentry/nextjs` | npm | From 10.0.0-alpha.0 | 10.75.2 |
| `@sentry/nextjs` | npm | From 11.0.0-alpha.0 | 11.0.0-rc.1 |
| `@sentry/nextjs` | npm | From 11.0.0-alpha.0 | 11.0.0-rc.1 |
| `@sentry/nextjs` | npm | From 9.36.0 | 9.47.2 |
| `@sentry/nextjs` | npm | From 9.36.0 | 9.47.2 |

## How do I fix CVE-2026-114139?

Upgrade @sentry/nextjs to a fixed version for your release line: 10.75.2, 11.0.0-rc.1 or 9.47.2.

## Is CVE-2026-114139 being exploited?

There is no known exploitation of CVE-2026-114139 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-114139 and fix it if it is affected.

What it is: CVE-2026-114139 is a critical vulnerability in getsentry sentry-javascript, published on 21 Oct 2026. 
Exploitation: There is no known exploitation of CVE-2026-114139 in the wild and no public exploit code.

Affected packages and fixed versions:
- @sentry/nextjs (npm): affected from 10.0.0-alpha.0; fixed in 10.75.2
- @sentry/nextjs (npm): affected from 10.0.0-alpha.0; fixed in 10.75.2
- @sentry/nextjs (npm): affected from 11.0.0-alpha.0; fixed in 11.0.0-rc.1
- @sentry/nextjs (npm): affected from 11.0.0-alpha.0; fixed in 11.0.0-rc.1
- @sentry/nextjs (npm): affected from 9.36.0; fixed in 9.47.2
- @sentry/nextjs (npm): affected from 9.36.0; fixed in 9.47.2

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-114139/ (Markdown: https://insights.sbomify.com/CVE-2026-114139/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-114139
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-114139
- OSV: https://osv.dev/vulnerability/CVE-2026-114139

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-114139/
Summaries are generated and may contain mistakes; the official description above is the record.
