# CVE-2026-135150: Auth bypass in Eclipse Ditto

> Unauthenticated attackers can bypass nginx authentication on Ditto gateways via crafted paths, impersonating policy subjects to read, modify and delete Things and Policies.

- **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
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Harmful if only installed:** No
- **Needs a specific call:** No
- **Fix available:** No
- **Published:** 25 Nov 2026
- **Updated:** 25 Nov 2026
- **Also known as:** GHSA-f779-cv8j-4p59

## What is CVE-2026-135150?

CVE-2026-135150 is a critical authentication bypass vulnerability in Eclipse Ditto, published on 25 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

In Eclipse Ditto versions 1.1.0 to 3.9.9, the nginx reverse proxy configurations shipped with Ditto (Helm chart, Docker Compose, Kubernetes and OpenShift deployment files) forward a client-supplied

  `x-ditto-pre-authenticated` header to the Ditto gateway on locations that do not apply nginx authentication, such as `/api/2/connections`. nginx selects the location based on the normalized request URI
  but forwards the raw URI, while the gateway does not treat an encoded slash (`%2f`) as a path separator. A crafted request path is therefore routed by nginx through such an unauthenticated location and
  by the gateway to the regular Things and Policies HTTP API, including routes that send live messages to devices. When pre-authentication is enabled (the default of the Helm chart and the Docker Compose
  setup), an unauthenticated remote attacker can impersonate arbitrary policy subjects and read, modify and delete Things, read Policies, send messages to devices and create entities. Additionally, the
  optional Ingress of the Helm chart (Ditto 3.9.0 to 3.9.9) routes requests directly to the gateway without setting or removing that header, and the WebSocket Ingress of the Helm chart of Ditto 3.3.0 to
  3.8.15 does not set it, allowing the same impersonation without path manipulation when pre-authentication is enabled. This bypasses the fix for CVE-2026-120753.

Weakness: CWE-436 (Interpretation Conflict), CWE-290 (Authentication Bypass by Spoofing)

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

An affected version is exposed as installed. No special setting or call is needed.


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

No fix has been published for CVE-2026-135150 yet. Limit exposure of the affected software until one is available.

## Is CVE-2026-135150 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-135150 exists.

Public exploit code:

- CVE-2026-135150 Eclipse Ditto pre-auth header spoofing lab (nginx/gateway path confusion) (github_poc): https://github.com/abraxas/cve-2026-135150-lab

## Fix prompt for AI coding agents

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

What it is: CVE-2026-135150 is a critical authentication bypass vulnerability in Eclipse Ditto, published on 25 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-135150 exists.
Exposure: An affected version is exposed as installed. No special setting or call is needed.

Affected product: Eclipse Ditto. No package-level version data is available, so check the vendor advisory linked from the reference page.

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-135150/ (Markdown: https://insights.sbomify.com/CVE-2026-135150/index.md)
```

## Sources

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

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