November 26, 2026
Eclipse Ditto vulnerabilities CVE-2026-135150 and CVE-2026-135203 in the Ditto gateway and connectivity service

Eclipse Ditto vulnerabilities fixed on November 25, 2026 let an unauthenticated attacker impersonate users (CVE-2026-135150, CVSS 9.1) and let connection managers run Java code (CVE-2026-135203, CVSS 9.4). The project reports no exploitation, but the reporter of CVE-2026-135150 verified the attack against official 3.9.9 images. Anyone running Ditto 3.9.9, 3.8.15 or older should move to 3.9.10 or 3.8.16.

CVE ID Product Flaw type CVSS Exploitation / KEV Fixed version
CVE-2026-135150 Eclipse Ditto gateway, shipped nginx configs, Helm chart Authentication bypass by spoofing (CWE-290, CWE-436) 9.1 (CVSS v4.0, vendor) Public PoC, no confirmed exploitation See Affected and fixed versions
CVE-2026-135203 Eclipse Ditto connectivity service (JavaScript payload mapper) Sandbox escape leading to code execution (CWE-94, CWE-693) 9.4 (CVSS v4.0, vendor) No confirmed exploitation See Affected and fixed versions

What are the new Eclipse Ditto vulnerabilities?

Eclipse Ditto is open-source IoT middleware. It stores device state as Things and controls access to them through Policies. The project published two critical advisories on November 25. The flaws sit in different components and need very different attackers.

CVE-2026-135150 needs no authentication. CVE-2026-135203 needs credentials that can manage connections, which by default means the Ditto DevOps realm. The advisories treat them as separate issues, and neither describes using one to reach the other.

CVE-2026-135150: subject impersonation through a spoofed header

Ditto can trust a reverse proxy to tell it who the user is. The proxy passes the user in the x-ditto-pre-authenticated header, and the gateway accepts that header by design. According to the Ditto advisory GHSA-f779-cv8j-4p59, the nginx configs shipped with Ditto do not always clear it.

The affected files cover the Helm chart, docker-compose, Kubernetes and OpenShift. Some of their locations reach the gateway without nginx authentication and still forward a client-supplied header. The advisory names location /api/2/connections as the most notable one. A client who sets the header can then act as any policy subject.

A second path exists in Helm. When the optional Ingress is enabled together with pre-authentication, it forwards the client header directly. No path tricks are needed there.

An attack needs four conditions:

  • Pre-authentication is enabled. This is the default in the Helm chart (global.jwtOnly: false), docker-compose, Kubernetes and OpenShift.
  • The deployment uses a shipped nginx config, a custom proxy that forwards the header, or Helm with Ingress enabled.
  • The attacker can reach the nginx endpoint. No other access is needed.
  • The attacker can guess a subject. Subjects follow the <issuer>:<name> form, such as nginx:<user>.

The attacker can then read, modify and delete every Thing the impersonated subject can access. They can also enumerate Things through search, read Policies and create entities. If the subject has WRITE on policy:/, the attacker can rewrite Policies to keep access. The CVE record adds sending messages to devices.

The WebSocket endpoint is out of reach this way, because the affected locations do not forward the Upgrade header. Helm charts for Ditto 3.3.0 to 3.8.15 carry a separate issue. With Ingress and pre-authentication on, any basic-auth user can impersonate other subjects via /ws.

The flaw bypasses the fix for CVE-2026-120753, which Ditto disclosed on November 19. That bug let the gateway accept the same subject from a URL query parameter. Versions 3.9.9 and 3.8.15 fixed it, and both remain vulnerable to the new variant. The earlier advisory said docker-compose was not impacted. This variant does impact it.

Technical details of CVE-2026-135150

The root cause is a parsing mismatch. Nginx picks a location using the normalized URI, but it forwards the raw URI to the gateway. The gateway does not treat an encoded slash (%2f) as a path separator. It does, however, resolve a following /.. segment. A crafted path therefore matches an unauthenticated nginx location while the gateway routes it to the Things and Policies API.

CVE-2026-135203: JavaScript payload mapper sandbox escape

Ditto’s connectivity service can transform messages with user-supplied JavaScript. It runs the incomingScript and outgoingScript code in the Mozilla Rhino engine. Ditto’s payload mapping documentation promises “No access to Java packages or classes”. The advisory GHSA-9mpq-m32x-4q7p says that promise does not hold.

The attacker must be able to create or modify connections. In the default configuration, that takes DevOps realm credentials, which control /api/2/connections and DevOps piggyback commands. The JavaScript mapper is on by default. Top-level script code runs when a connection opens, and the mapping function runs for each message.

The advisory lists what such a user could do:

  • Read the connectivity service’s configuration and environment, including database credentials and the credentials of all connections.
  • Send arbitrary messages inside the Pekko cluster to other Ditto services, bypassing authorization.
  • Reach the deployment’s network, the container file system and, in Kubernetes, the connectivity pod’s service account.
  • Disrupt or take over the connectivity service.

The advisory says the worst case is a deployment that hands connection or script management to less trusted users. Per-tenant management built on Ditto is its example.

Technical details of CVE-2026-135203

Ditto configures Rhino without a ClassShutter, the Rhino feature that hides Java classes from scripts. The sandbox removes obvious entry points such as Packages and java. Engine errors still leak, though. When a script catches one, Rhino attaches the wrapped Java exception to the error object. The script then holds a live Java object and can use reflection to load and call arbitrary classes in the service’s JVM.

The execution time, stack depth and script size limits do not stop this. Java 25 also has no SecurityManager to restrict reflection.

Ditto credits S4lmon-SH with finding CVE-2026-135150 and Jiwoo Kim (@arpe1618) with reporting CVE-2026-135203.

Are the Eclipse Ditto vulnerabilities being exploited?

Neither advisory reports exploitation in the wild, and we found no such report elsewhere. The CVE-2026-135150 advisory does include a proof-of-concept. Its reporter tested official 3.9.9 images with nginx configs from Helm chart 4.9.0 defaults and from docker-compose. An unauthenticated request with a spoofed nginx:ditto subject returned another user’s secret Thing attribute.

The reporter also showed attribute changes, Policy reads, Thing listing and Thing deletion. One test created a Thing as nginx:admin, a subject missing from the htpasswd file. The CISA ADP entry in the CVE record rates exploitation as “poc”, automatable as “yes” and technical impact as “total”.

For CVE-2026-135203, we found no public proof-of-concept or exploitation report.

Affected and fixed versions

Product Branch Affected versions Fixed version
Ditto gateway (CVE-2026-135150) 3.9 3.9.0 through 3.9.9 3.9.10
Ditto gateway (CVE-2026-135150) 3.8 and earlier 1.1.0 through 3.8.15 3.8.16
Ditto Helm chart (CVE-2026-135150) Ditto 3.9 line 4.9.0 and earlier 4.10.0
Ditto Helm chart (CVE-2026-135150) Ditto 3.8 line Through 3.8.15 3.8.16
Ditto connectivity (CVE-2026-135203) 3.9 3.9.0 through 3.9.9 3.9.10
Ditto connectivity (CVE-2026-135203) 3.8 and earlier 0.3.0-M1 through 3.8.15 3.8.16

Both fixes have shipped. The Ditto 3.9.10 release notes list CVE-2026-135150 (commit 9dce5303bb) and CVE-2026-135203 (commit 3dfb14cbfe). The 3.8.16 release notes list the same two CVEs. Both releases came out on November 25.

One source still disagrees. At the time of writing, the GHSA-f779-cv8j-4p59 page listed no patched versions and called the fix “in preparation” for 3.9.10 and 3.8.16. The release notes show that work has landed. The project merged both fixes from private forks, so no public pull requests exist.

How to fix the Eclipse Ditto vulnerabilities

Upgrade 3.9 deployments to Ditto 3.9.10, or Helm chart 4.10.0. Upgrade the 3.8 line to Ditto 3.8.16, whose Helm chart is also 3.8.16. The 3.9.10 Docker images also move to JDK 25.0.5.1, which the project says fixes CVE-2026-114938.

The update changes several defaults:

  • Shipped nginx configs clear the header in every location that proxies to the gateway.
  • The gateway returns 400 Bad Request for raw paths with . or .. segments, including encoded forms.
  • Helm refuses to render when routing Ingress and pre-authentication are both on. Set ingress.preAuthenticationHeaderSanitized: true or use global.jwtOnly: true.
  • In 3.8 charts, the ws Ingress now sets the header from basic auth.
  • A deny-by-default ClassShutter blocks all Java access from mapping scripts, even with allowUnsafeStandardObjects on.

Plan for the breaking changes. Clients must send normalized paths. Attributes or Feature properties named .. are no longer addressable over HTTP. Scripts that used Java classes must be rewritten in plain JavaScript. The upgrade does not touch custom proxies, so each one must still set or clear the header on every gateway route.

If you cannot patch yet

For CVE-2026-135150, the advisory offers these options:

  • Disable pre-authentication with ENABLE_PRE_AUTHENTICATION=false. In Helm, set global.jwtOnly: true and keep enablePreAuthentication: false.
  • Add proxy_set_header x-ditto-pre-authenticated ""; to every nginx location that proxies to the gateway without setting the header. Locations with their own proxy_set_header do not inherit server-level directives, so each one needs it.
  • With Helm Ingress, set global.jwtOnly: true or make the controller set or remove the header on every path.

For CVE-2026-135203, remove JavaScriptMessageMapperRhino from ditto.connectivity.mapping.message-mapper-provider.extension-config.message-mappers. Connections that use JavaScript mapping will then fail to open. Otherwise, limit /api/2/connections and /devops to fully trusted administrators and review the scripts in existing connections.

How to check if you are affected

Start with the Ditto version on your gateway and connectivity images. For CVE-2026-135150, check whether pre-authentication is on. The gateway’s own default is off, but the Helm chart, docker-compose, Kubernetes and OpenShift files turn it on. Deployments with global.jwtOnly: true and enablePreAuthentication: false are not affected, even with Ingress enabled.

For CVE-2026-135203, list who holds DevOps realm credentials or can otherwise manage connections. Then check which connections use JavaScript payload mapping.

Why it matters

This is the second pre-authentication bypass in Ditto within a week. Administrators who updated to 3.9.9 or 3.8.15 for CVE-2026-120753 are still exposed. Docker-compose setups, which the earlier advisory excluded, are now in scope too. In both cases the default deployment files created the exposure, not a custom setup.

The two flaws call for different responses. CVE-2026-135150 is the more urgent one for internet-facing gateways, since it needs no login. CVE-2026-135203 matters most where tenants or less trusted staff can edit connections, because it turns that right into control of the connectivity service and its stored credentials.

Teams that keep their own nginx or Ingress templates should not assume the upgrade covers them. The fix to the shipped files does not reach a custom proxy.

Timeline

Date Event
November 19, 2026 Ditto publishes GHSA-chwq-wg27-qvfr (CVE-2026-120753), fixed in 3.9.9 and 3.8.15
November 25, 2026 Ditto publishes GHSA-f779-cv8j-4p59 (CVE-2026-135150) and GHSA-9mpq-m32x-4q7p (CVE-2026-135203)
November 25, 2026 Ditto 3.9.10 and 3.8.16 ship with both fixes
November 25, 2026 The CVE-2026-135150 record is published

Leave a Reply

Your email address will not be published. Required fields are marked *