CVE-2026-135203: JavaScript payload-mapping sandbox escape allows arbitrary code execution in the connectivity service
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.
Affected Software
Event History
Frequently Asked Questions
Which Eclipse Ditto deployments are affected?
Deployments using Eclipse Ditto versions 0.3.0-M1 through 3.8.15, or 3.9.0 through 3.9.9, are affected where the connectivity service JavaScript payload mapper is used.
What access does an attacker need?
The attacker must be permitted to create or modify connections and supply a mapping script. By default, this permission is available to the Ditto DevOps realm.
What could an attacker access after exploitation?
Successful exploitation enables arbitrary code execution in the connectivity service. This can expose that service's credentials and provide access to the Ditto cluster.