Skip to main content

Eclipse Ditto CVE-2026-135203

| EUVDEUVD-2026-136228 CRITICAL
Code Injection (CWE-94)
2026-11-26 emo@eclipse.org
9.4
CVSS 4.0 · Vendor: eclipse
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to Ditto DevOps realm
  2. Delivery
    Submit connection with malicious JavaScript mapper
  3. Exploit
    Trigger engine error and catch wrapped Java exception
  4. Execution
    Use reflection to reach arbitrary Java classes
  5. Impact
    Execute 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Eclipse Ditto 3.9.0 ≤3.9.9
Eclipse Ditto 0.3.0-M1 ≤3.8.15

Affected Packages

euvd eclipse_ditto no fix

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

Vendor (eclipse) PRIMARY 9.4 CRITICAL
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
vuln.today AI 9.1 CRITICAL

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.

3.1 AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (eclipse).

CVSS VectorVendor: eclipse

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

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.

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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.6%
Top 56% exploitable
Prevalence
Low
niche open-source IoT digital-twin framework, limited production footprint
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.6%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Very High

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +47
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

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.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

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

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy