Eclipse Ditto remote code execution in payload mapper
- Exploited
- No known exploitation
- Fix
- Fixed in 3.8.16, 3.9.10
- Who is exposed
- Specific setups only
Summary
Eclipse Ditto's JavaScript payload mapper in the connectivity service lets mapping scripts reach arbitrary Java classes, so a user who can create or modify connections can run arbitrary code in that service. The attack is carried out remotely over the network by an account with high-level login rights, such as the default Ditto DevOps realm, and it gives access to the service's credentials and the wider Ditto cluster.
Written by a model
Original description
In Eclipse Ditto versions 0.3.0-M1 through 3.8.15 and 3.9.0 through 3.9.9, the JavaScript payload mapper of the connectivity service executes user-supplied mapping scripts in a Mozilla Rhino engine without a ClassShutter. A mapping script can catch an engine error and use the Java exception object exposed on it to reach arbitrary Java classes and methods via reflection, bypassing the documented sandbox restriction that mapping scripts cannot access Java packages or classes. This allows a user permitted to create or modify connections (by default the Ditto DevOps realm) to execute arbitrary code in the connectivity service, gaining access to its credentials and to the Ditto cluster.
Who should check
Anyone running Eclipse Ditto connectivity with the JavaScript payload mapper, versions 0.3.0-M1 to 3.8.15 or 3.9.0 to 3.9.9, including multi-tenant connection management
“The vulnerability affects all Ditto versions since the JavaScript payload mapper was introduced in 0.3.0-M1”
What to do
Check whether your setup matches what the bug needs.
Connection uses the JavaScript payload mapper, which is enabled by default Rhino script engine runs without a ClassShutter configured Affects all Ditto versions since the JavaScript mapper was introduced in 0.3.0-M1Upgrade to a fixed version: 3.8.16, 3.9.10.
Workaround: Remove the JavaScript message mapper class from the connectivity mapper configuration, or restrict the DevOps realm to fully trusted administrators
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-135203 (JavaScript payload-mapping sandbox escape allows arbitrary code execution in the connectivity service), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-135203 (entry last updated 2026-11-26):
Affected:
- Eclipse Foundation Eclipse Ditto: from 0.3.0-M1, through 3.8.15; from 3.9.0, through 3.9.9
Fixed versions: 3.8.16, 3.9.10.
Conditions (all must be true for the bug to be hit):
- Connection uses the JavaScript payload mapper, which is enabled by default (source: https://github.com/eclipse-ditto/ditto/security/advisories/GHSA-9mpq-m32x-4q7p)
- Rhino script engine runs without a ClassShutter configured (source: https://github.com/eclipse-ditto/ditto/security/advisories/GHSA-9mpq-m32x-4q7p)
- Affects all Ditto versions since the JavaScript mapper was introduced in 0.3.0-M1 (source: https://github.com/eclipse-ditto/ditto/security/advisories/GHSA-9mpq-m32x-4q7p)
Setup: the bug is reachable in a default setup; no special feature or setting is needed.
Attacker needs: network access, high-privilege login, no user action.
Workaround: Remove the JavaScript message mapper class from the connectivity mapper configuration, or restrict the DevOps realm to fully trusted administrators (source: https://github.com/eclipse-ditto/ditto/security/advisories/GHSA-9mpq-m32x-4q7p)
CISA KEV: CVE-2026-135203 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-135203 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/eclipse-ditto/ditto/security/advisories/GHSA-9mpq-m32x-4q7p
- https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/1458
- https://gitlab.eclipse.org/security/cve-assignment/-/work_items/626
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-135203
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-135203"}.Affected versions
- Eclipse Foundation Eclipse DittoFrom 0.3.0-M1 · through 3.8.15; From 3.9.0 · through 3.9.9
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure8/25Specific setups only, reachable over the network
- Reach?/20Unknown. No tracked technology or package matched
- Severity9.4/10CVSS 9.4
- No patch0/5No signal
What would change the score
- Would score about 67 if added to CISA KEV
- Would score about 62 if CISA's SSVC rates exploitation active
- Would score about 24 if CISA's SSVC rates it automatable
Timeline
- CVE published
- First seen by cve.now
- Posted on X by cve.now
Evidence 5
| Kind | Source |
|---|---|
| Vendor advisory 3Establishes: Affected and fixed versions. | |
| Advisory | GitHub · eclipse-ditto/ditto · Advisory GHSA-9mpq-m32x-4q7p |
| Link | gitlab.eclipse.org · security/vulnerability-reports/-/work_items/1458 |
| Link | gitlab.eclipse.org · security/cve-assignment/-/work_items/626 |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-135203 |
| Record | NVD · CVE-2026-135203 |
Questions about CVE-2026-135203
Is CVE-2026-135203 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
The JavaScript payload mapper in Eclipse Ditto's connectivity service runs user-supplied scripts in the Rhino engine without a ClassShutter, so a user who can create or modify connections can run arbitrary code inside the connectivity service. That code can reach its credentials, the Pekko cluster and the deployment network.
Source: github.com
Which versions are affected by CVE-2026-135203?
Eclipse Ditto: from 0.3.0-M1 through 3.8.15; from 3.9.0 through 3.9.9.
Source: cve.now feed data
Am I affected, and how do I check?
Ditto versions 0.3.0-M1 through 3.8.15 and 3.9.0 through 3.9.9 are affected, provided the connection uses the JavaScript payload mapper, which is enabled by default, and the Rhino engine runs without a ClassShutter configured. To check, look at the connectivity mapper configuration for the JavaScript message mapper class and confirm the Ditto version in use.
Source: github.com
How do I fix CVE-2026-135203?
Upgrade to Eclipse Ditto 3.8.16 or 3.9.10, which are the patched versions. If an upgrade is not possible yet, remove the JavaScript message mapper class from the connectivity mapper configuration, or restrict the DevOps realm to fully trusted administrators.
Source: github.com
Related
- CVE-2026-84197In Eclipse Ditto's Node.js JavaScript client, all released versions of @eclipse-ditto/ditto-javascript-client-node from 2.0.0 to 3.9.0 and o
- CVE-2026-135150In Eclipse Ditto versions 1.1.0 to 3.9.9, the nginx reverse proxy configurations shipped with Ditto (Helm chart, Docker Compose…
- CVE-2026-120753Eclipse Ditto gateway accepts `x-ditto-pre-authenticated` from a URL query parameter, allowing unauthenticated subject impersonation…
- CVE-2026-82958In Eclipse Ditto versions [1.3.0, 3.9.6], the ImplicitThingCreationMessageMapper of the connectivity service builds a CreateThing command…
- CVE-2026-129699In Eclipse Ditto versions 2.0.0 to 3.8.14 and 3.9.0 to 3.9.8, the authorization check for JSON merge patch commands on Things (HTTP…
- CVE-2026-129700In Eclipse Ditto versions 2.4.0 to 3.9.8, Thing fields a requester is not allowed to read can be disclosed through the `condition` and…
No corrections so far. Something wrong on this page? Report an error.