{"schemaVersion":3,"id":"CVE-2026-82958","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"In Eclipse Ditto versions [1.3.0, 3.9.6], the ImplicitThingCreationMessageMapper of the connectivity service builds a CreateThing command by substituting placeholder values (e.g. {{ header:device_id }}) resolved from inbound message headers into a pre-configured JSON \"thing\" template as raw, un-escaped strings, and then parses the resulting string as JSON. Because the placeholder engine performs no JSON escaping and is unaware of the surrounding JSON string context, a resolved value containing a double-quote character can break out of its string and inject additional JSON structure.\n\n\n\n\nWhen a connection is configured to use this mapper with a template that reflects a header whose value a publishing device can control (for example an MQTT 5 user property, an AMQP 1.0 application property, or a Kafka record header), an attacker able to publish on that connection can inject an inline _policy object. The inline policy overrides the administrator-configured policyId, letting the attacker assign an arbitrary access-control policy to the newly created digital twin — gaining full read/write access to it and potentially revoking the legitimate owner's access, with no administrator interaction.\n\n\n\n\nExploitation requires all of the following: the connection uses the (non-default) ImplicitThingCreation mapper; its template reflects an attacker-controllable header; and, for the policy-override impact, the connection's authorization subjects are permitted to create policies (the default). Deployments that restrict the connection's subjects to thing creation only via the entity-creation configuration are not affected by the policy-override impact.","dates":{"published":"2026-09-02T10:12:49.085Z","modified":"2026-09-02T12:53:05.342Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.6,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":7.6,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":7.6,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/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.00412,"percentile":0.34012,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.16900000000000004,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00243},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00243,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00243,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00243,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00243,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00243,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00243,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00243,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00243,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00243,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00243,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00412,"percentile":0.34012}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00243,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00243,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00243,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00243,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00243,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00412,"percentile":0.34012}]},"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-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')","description":"The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/74.html"},{"id":"CWE-116","name":"Improper Encoding or Escaping of Output","description":"The product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/116.html"},{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine","description":"The product uses a template engine to insert or process externally-influenced input, but it does not neutralize or incorrectly neutralizes special elements or syntax that can be interpreted as template expressions or other code directives when processed by the engine.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/1336.html"}],"affected":[{"vendor":"eclipse foundation","product":"eclipse ditto","name":"Eclipse Ditto","label":"eclipse ditto","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.3.0, ≤ 3.9.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.3.0, ≤ 3.9.6","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/764","label":"gitlab.eclipse.org/security/vulnerability-reports/-/work_items/764","hostname":"gitlab.eclipse.org","tags":[]},{"url":"https://github.com/eclipse-ditto/ditto/security/advisories/GHSA-cgfq-3fv9-5c44","label":"github.com/eclipse-ditto/ditto/security/advisories/GHSA-cgfq-3fv9-5c44","hostname":"github.com","tags":[]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-09-02T10:12:49.085Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-09-02T12:53:05.342Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T19:36:30.618Z","stale":false,"partial":false}}