{"id":"CVE-2026-82958","aliases":["CVE-2026-82958"],"related":[],"kind":"vulnerability","state":"published","title":"In Eclipse Ditto versions [1.3.0, 3.9.6], the ImplicitThingCreationMessageMapper of the connectivity service builds a CreateThing command b…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-09-02T10:12:49.085Z","modified":"2026-09-03T16:41:09.297Z","severity":{"scorer":"eclipse","scheme":"CVSS:4.0","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","score":7.6,"rating":"HIGH"},"severities":[{"scorer":"eclipse","scheme":"CVSS:4.0","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","score":7.6,"rating":"HIGH"}],"cwes":["CWE-74","CWE-116","CWE-1336"],"affected":[{"ranges":[{"type":"semver","introduced":"1.3.0","lastAffected":"3.9.6","status":"affected"}],"vendor":"Eclipse Foundation","product":"Eclipse Ditto","source":"cvelist"}],"references":[{"url":"https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/764","tags":["exploit"],"sources":["cvelist","nvd"]},{"url":"https://github.com/eclipse-ditto/ditto/security/advisories/GHSA-cgfq-3fv9-5c44","tags":[],"sources":["cvelist","nvd"]}],"credits":["Mohamed Lemine Ahmed Jidou"],"assigner":"eclipse","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-09-02T12:52:37.950Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-82958","url":"https://www.cve.org/CVERecord?id=CVE-2026-82958","licence":"CVE Terms of Use","modified":"2026-09-02T12:53:05.342Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-82958","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82958","licence":"Public domain","modified":"2026-09-03T16:41:09.297Z"}],"updatedAt":"2026-11-25T22:59:36.075Z","epss":{"score":0.00243,"percentile":0.16613,"date":"2026-12-01T12:00:22.000Z"}}