Technical impact
Eclipse Ditto's JavaScript payload mapper runs user supplied mapping scripts in a Mozilla Rhino engine without a ClassShutter, letting a script that catches an engine error access the exposed Java exception object. From that object an attacker can reach arbitrary Java classes and methods through reflection, bypassing the advertised sandbox restriction that disallows Java package or class access. In practice, a user with permission to create or modify connections (the default Ditto DevOps realm) can execute arbitrary code in the connectivity service, gaining access to its credentials and the entire Ditto cluster.
Affected Systems
Versions of Eclipse Ditto from 0.3.0‑M1 through 3.8.15 and from 3.9.0 through 3.9.9 are affected. These are deployments of the Eclipse Ditto product released by the Eclipse Foundation.
Risk and Exploitability
The CVSS score of 9.4 indicates a critical severity. EPSS data is not available, and the vulnerability is not listed in the CISA KEV catalog, but the lack of data does not mean it is safe. The likely attack vector is a legitimate user who can create or edit connections; the attacker would need authenticated access to the Ditto instance, but such permissions are typically granted to developers or administrators. Once the mapping script is submitted, the sandbox escape is executed in the server process, granting code execution with the same privileges as the service, which can read cluster credentials, modify data, and potentially pivot within the network.