Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Ditto DevOps realm
-
DeliverySubmit connection with malicious JavaScript mapper
-
ExploitTrigger engine error and catch wrapped Java exception
-
ExecutionUse reflection to reach arbitrary Java classes
-
ImpactExecute code and exfiltrate cluster/DB credentials
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires that the Ditto connectivity service use the JavaScript payload mapper, which is enabled by default (connectivity.conf), and that the attacker can create or modify a connection - in the default configuration this requires authentication in the Ditto DevOps realm (/api/2/connections and /devops piggyback commands). The flaw works regardless of the allowUnsafeStandardObjects setting and independent of the bundled Rhino version, because the Rhino engine is configured with no ClassShutter. Limiting factors: the DevOps credential requirement (PR:H) is the primary gate, so anonymous exploitation is not possible in a default deployment; risk rises sharply where connection or mapping-script management is delegated to less-trusted or per-tenant users. Fixed releases 3.8.16 and 3.9.10 install a deny-by-default ClassShutter; workarounds are disabling the JavaScriptMessageMapperRhino mapper or restricting DevOps-realm access to fully trusted administrators. |
| Impact | This is a genuine high-priority issue, not an inflated CVSS score. The signals are internally consistent: the CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N) describes a network-reachable, low-complexity sandbox escape that requires privileges, and the SSVC-style priority label from the input is 'act_now'. The one signal that tempers raw severity is PR:H - exploitation is not anonymous; in a default deployment it requires valid Ditto DevOps-realm credentials to create or modify a connection. That means the realistic threat model is a malicious or compromised privileged operator, or any deployment that delegates connection/mapping-script management to less-trusted users (e.g. per-tenant connection management), rather than drive-by internet exploitation. No EPSS score and no CISA KEV entry are present in the input, and no verified working exploit code is referenced, so there is no evidence of active or widespread exploitation; however, the vendor's own detailed advisory fully describes the escape mechanism, which lowers the barrier to weaponization. Net: a high-impact, low-complexity flaw gated only by DevOps authentication, warranting prompt patching consistent with the act_now label, especially where connection management is delegated. |
| Exploit ScenarioDerived | An actor holding Ditto DevOps-realm credentials (or a tenant granted connection-management rights) creates or edits a connection whose JavaScript incoming/outgoing mapping script deliberately triggers an engine error, catches it, and reads the wrapped Java exception object exposed on the caught error. From that live Java object it uses getClass() and reflection to load arbitrary classes, executing code in the connectivity service to read MongoDB and connection credentials and reach the Pekko cluster. No separate public working exploit is referenced, but the GHSA advisory documents the full technical mechanism. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 26, 2026
Authenticated users who can create or modify connections in Eclipse Ditto can escape the intended JavaScript payload-mapper sandbox and execute arbitrary code inside the connectivity service, gaining the service's credentials and reach into the wider Ditto cluster and deployment network. The flaw affects Ditto 0.3.0-M1 through 3.8.15 and 3.9.0 through 3.9.9, works regardless of the allowUnsafeStandardObjects setting and independent of the bundled Rhino version, and is reachable because the JavaScript mapper is enabled by default; in a default deployment the attacker must hold credentials in the Ditto DevOps realm to reach /api/2/connections or the DevOps piggyback commands. Priority is act_now, vendor fixes are released in 3.8.16 and 3.9.10, and no public exploit code was identified at time of analysis.
RemediationAI
Upgrade to the vendor-patched releases 3.8.16 (for the 3.8.x line) or 3.9.10 (for the 3.9.x line), which install a deny-by-default ClassShutter for all JavaScript mapping executions so no Java object is visible to mapping scripts, per advisory GHSA-9mpq-m32x-4q7p. If upgrading immediately is not possible, disable the JavaScript mapper by removing org.eclipse.ditto.connectivity.service.mapping.javascript.JavaScriptMessageMapperRhino from ditto.connectivity.mapping.message-mapper-provider.extension-config.message-mappers in the connectivity configuration, accepting that connections relying on JavaScript payload mapping can then no longer be opened. In addition, restrict access to the DevOps realm (/api/2/connections and /devops) to fully trusted administrators and review the incomingScript and outgoingScript of existing connections for tampering, since the high-privilege DevOps credential is the primary gate on exploitation and delegation of connection management to less-trusted users sharply increases risk.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Ditto's connectivity service ships a JavaScript payload mapper that runs user-supplied incomingScript/outgoingScript in a Mozilla Rhino engine. JavaScriptMessageMapperRhino.doConfigure builds its scope with a SandboxingContextFactory that only sets interpreter mode, an instruction observer for execution time and a maximum stack depth; it installs neither a ClassShutter nor a restrictive WrapFactory. initSafeStandardObjects() removes the LiveConnect entry points (Packages, java, getClass, JavaAdapter), but Rhino's ScriptRuntime.newCatchScope attaches the live Java exception object to a caught EcmaError/EvaluatorException as rhinoException (and javaException for wrapped Java exceptions), and Rhino only withholds those properties when a ClassShutter hides the exception class. With no shutter configured, a script that deliberately triggers and catches an engine error obtains a real Java object, calls getClass() to reach java.lang.Class and then uses the java.base reflection API to load and invoke arbitrary classes and methods. The time limit, stack-depth limit and script size limit do not constrain this path, and Java 25 no longer offers a SecurityManager to block reflection. The root cause is CWE-94 code injection into an insufficiently sandboxed script engine, with the advisory also tagging CWE-693 protection mechanism failure; top-level script code runs when the connection is opened and mapped functions run per message, so execution persists for the life of the connection.
Know when Java gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-reachable, low-complexity sandbox escape requiring DevOps credentials (PR:H); escape to the connectivity process and wider Pekko cluster/credentials beyond Ditto's permission model justifies S:C with full C/I/A impact.
Primary rating from Vendor (eclipse).
CVSS VectorVendor: eclipse
DescriptionCVE.org
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.
Articles & Coverage 1
Technical POC Analysis
Bug class: CWE-94 (advisory also lists CWE-693, protection mechanism failure).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Eclipse Ditto, an IoT connectivity platform, contains a critical sandbox escape (CVE-2026-135203) that allows authenticated users to execute arbitrary code and compromise the entire cluster and deployment network. Leadership should prioritize immediate patching because the vulnerability is enabled by default and affects all supported versions, potentially leading to full system takeover.
Apply vendor patch. If immediate patching is not possible, disable the JavaScript payload mapper in the Ditto connectivity service configuration and restart the service; this reduces the attack surface by removing the vulnerable component, though it may impact legitimate JavaScript-based payload transformations. Additionally, restrict access to the Ditto DevOps realm to trusted users and implement network segmentation to limit lateral movement from the connectivity service.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
EUVD-2026-136228
NVD
CVE.org
EPSS
GitHub
Exploit-DB