CVE-2026-135203

JavaScript payload-mapping sandbox escape allows arbitrary code execution in the connectivity service

Published Nov 26, 2026 CVSS 4.0 · 9.4 Critical EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

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.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply any vendor‑supplied patch that addresses the sandbox escape when it becomes available.
  • Restrict the privileges of the DevOps realm to trusted administrators only, preventing untrusted users from creating or modifying connections.
  • As a temporary measure, disable or remove the JavaScript payload mapper from the connectivity service configuration, or add a ClassShutter to the Rhino engine if the product supports it.
  • Review access controls and monitor logs for abnormal exception or reflection activity to detect exploitation attempts.

Generated by OpenCVE AI on November 26, 2026 at 12:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Eclipse
Eclipse eclipse Ditto
Vendors & Products Eclipse
Eclipse eclipse Ditto
Type Values Removed Values Added
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.
Title JavaScript payload-mapping sandbox escape allows arbitrary code execution in the connectivity service
Weaknesses CWE-693
CWE-94
References
Metrics cvssV4_0

{'score': 9.4, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H'}

Weaknesses
  • CWE-693

    Protection Mechanism Failure

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
eclipse
Published
Updated
Nov 26, 2026, 11:10 AM
Reserved
Nov 23, 2026, 3:05 PM
Status
Received
Published
Nov 26, 2026, 11:17 AM
Modified
Nov 26, 2026, 11:17 AM