CVE-2026-82958 Details
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. When 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. Exploitation 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.
A JSON template injection vulnerability has been identified in Eclipse Ditto versions 1.3.0 through 3.9.6. The issue arises in the connectivity service's ImplicitThingCreationMessageMapper, which constructs CreateThing commands by inserting placeholder values from inbound message headers into a predefined JSON template. This substitution is done without proper JSON escaping, allowing an attacker to inject additional JSON structure, such as an inline _policy object, by exploiting header values they control. The injected policy can override the default access-control settings, granting unauthorized access to digital twins and disrupting the application's access control model.
Users should upgrade to Eclipse Ditto versions 3.9.7 or 3.8.13, where this vulnerability has been fixed. Alternatively, connections can be configured to restrict entity creation to only thing entities, or to avoid using headers that can be controlled by publishing devices.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 2, 2026CISA-ADP
Assessed Sep 2, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/764 | CISA-ADP | ExploitTechnical AnalysisVendor |
| https://github.com/eclipse-ditto/ditto/security/advisories/GHSA-cgfq-3fv9-5c44 | [email protected] | AdvisoryRemedyVendor |
| https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/764 | [email protected] | ExploitTechnical AnalysisVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-116 | Improper Encoding or Escaping of Output | [email protected] |
| CWE-1336 | Improper Neutralization of Special Elements Used in a Template Engine | [email protected] |
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Eclipse Ditto | >= 1.3.0, <= 3.9.6 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 2, 2026 | CVE Modified | CISA-ADP |
| Sep 2, 2026 | New CVE Received | [email protected] |
Volerion