{"schemaVersion":4,"id":"CVE-2026-135203","aliases":[],"status":"published","duplicateOf":null,"title":"JavaScript payload-mapping sandbox escape allows arbitrary code execution in the connectivity service","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.","dates":{"published":"2026-11-26T11:10:13.543Z","modified":"2026-12-03T16:16:38.193Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.4,"severity":"critical","version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":9.4,"severity":"critical","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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":9.4,"severity":"critical","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00929,"percentile":0.61763,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-27T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00929,"percentile":0.61763}],"last30":[{"date":"2026-11-27T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00929,"percentile":0.61763}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-94","name":"Improper Control of Generation of Code","description":"The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/94.html"},{"id":"CWE-693","name":"Protection Mechanism Failure","description":"The product does not use or incorrectly uses a protection mechanism that provides sufficient defense against directed attacks against the product.","type":"weakness","status":"Draft","abstraction":"Pillar","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/693.html"}],"affected":[{"vendor":"eclipse foundation","product":"eclipse ditto","name":"Eclipse Ditto","label":"eclipse ditto","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.3.0-M1, ≤ 3.8.15","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"0.3.0-M1","startInclusive":true,"end":"3.8.15","endInclusive":true}},{"text":"≥ 3.9.0, ≤ 3.9.9","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.9.0","startInclusive":true,"end":"3.9.9","endInclusive":true}}],"versionsText":"≥ 0.3.0-M1, ≤ 3.8.15 | ≥ 3.9.0, ≤ 3.9.9","eol":null,"hubHref":"/vendor/eclipse_foundation/eclipse_ditto"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/1458","label":"gitlab.eclipse.org/security/vulnerability-reports/-/work_items/1458","hostname":"gitlab.eclipse.org","tags":[]},{"url":"https://github.com/eclipse-ditto/ditto/security/advisories/GHSA-9mpq-m32x-4q7p","label":"github.com/eclipse-ditto/ditto/security/advisories/GHSA-9mpq-m32x-4q7p","hostname":"github.com","tags":["Vendor Advisory"]},{"url":"https://gitlab.eclipse.org/security/cve-assignment/-/work_items/626","label":"gitlab.eclipse.org/security/cve-assignment/-/work_items/626","hostname":"gitlab.eclipse.org","tags":[]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-26T11:10:13.543Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-12-03T16:16:38.193Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"severe","reason":"Severe, CVSS 9.4 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)","nextStep":"Check applicability and the vendor advisory: no fix release is recorded here","rank":[0,0,0,0,1,94],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00929,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-12-03T16:16:38.193Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"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","version":"4.0","headline":true},{"type":"cvss","source":"nvd","date":"2026-12-03T16:16:38.193Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"type":"adp","source":"cisa-adp","date":"2026-12-03T16:16:04.029Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"poc"}],"epss":{"value":0.00929,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T03:02:07.274Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T03:02:07.824Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T03:02:08.009Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T03:00:58.365Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T03:02:05.166Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T03:02:04.195Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T03:51:16.134Z","stale":false,"partial":false}}