Skip to main content
EPSS 0.4%top 66%

CVE-2026-82958: CWE-1336 Improper neutralization of special elements used in a template engine in Eclipse Foundation Eclipse Ditto

0
High
VulnerabilityCVE-2026-82958cvecve-2026-82958cwe-1336cwe-116cwe-74
Published: 09/02/2026 (09/02/2026, 10:12:49 UTC)
Source: CVE Database V5
Vendor/Project: Eclipse Foundation
Product: Eclipse Ditto

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.

CVSS v4.0

Score 7.6high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

Eclipse Foundation

Eclipse Ditto

Affected versions
>=1.3.0 <=3.9.6

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 14:00:22 UTC

Technical Analysis

In Eclipse Ditto versions including 1.3.0, the ImplicitThingCreationMessageMapper of the connectivity service substitutes placeholder values from inbound message headers into a JSON template without proper JSON escaping. This improper neutralization of special elements (CWE-1336) allows an attacker who can publish messages with crafted headers to inject additional JSON structures, such as an inline _policy object. This injection can override the administrator-configured policyId, granting the attacker full read/write access to the created digital twin and potentially revoking legitimate owner access. Exploitation requires the connection to use the ImplicitThingCreation mapper with a template reflecting an attacker-controlled header and that the connection's authorization subjects have permission to create policies. Deployments restricting subjects to thing creation only are not affected by the policy-override impact.

Potential Impact

An attacker able to publish messages on a vulnerable connection can inject arbitrary JSON structures into the digital twin creation template, allowing them to override access-control policies. This results in unauthorized full read/write access to the digital twin and potential revocation of legitimate owner access. The impact is high due to the potential for privilege escalation and unauthorized control over digital twins. However, exploitation requires specific configuration and permissions, limiting the scope to affected deployments.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, mitigate by avoiding use of the ImplicitThingCreationMessageMapper with templates reflecting attacker-controllable headers. Restrict authorization subjects to only create things without policy creation permissions to prevent policy override exploitation. Review connection configurations to ensure they do not expose this vulnerability.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
eclipse
Date Reserved
2026-08-31T12:47:29.479Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a9802f8acd9273b4925309f

Added to database: 09/02/2026, 11:05:28 UTC

Last enriched: 09/07/2026, 14:00:22 UTC

Last updated: 10/18/2026, 18:48:24 UTC

Views: 124

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses