Eclipse Ditto gateway trusts a pre-authentication URL parameter
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-287.
Summary
Eclipse Ditto versions from 1.1.0 through 3.9.8 accept the pre-authenticated subject from an undocumented URL query parameter as well as from the header set by a trusted reverse proxy. A proxy that only overwrites the header therefore does not stop clients from supplying their own subject (CWE-290). With the default Helm chart configuration, an unauthenticated remote attacker can use an invalid Bearer token and the query parameter to act as any policy subject and read and modify Things and Policies.
Written with Claude Haiku 5.5 from the sources below · 2026-11-19
Description from the CNA
In Eclipse Ditto versions 1.1.0 to 3.9.8, when pre-authentication is enabled, the gateway service accepts the pre-authenticated subject not only from the `x-ditto-pre-authenticated` HTTP header set by a trusted reverse proxy, but also from an undocumented `x-ditto-pre-authenticated` URL query parameter that a client can set. A reverse proxy that only overwrites the header therefore does not stop clients from supplying their own subject. With the default configuration of the Ditto Helm chart (`global.jwtOnly: false`, which implicitly enables pre-authentication), the bundled nginx skips HTTP Basic authentication for any request with an `Authorization: Bearer` header and forwards it without the pre-authentication header. An unauthenticated remote attacker can send an invalid Bearer token together with the query parameter to authenticate as any chosen policy subject. Pre-authentication succeeds before the JWT is validated, so the attacker can read and modify Things and Policies with that subject's permissions. As a mitigation, disable pre-authentication in the gateway (`ENABLE_PRE_AUTHENTICATION=false`) or, when using the Helm chart, configure `global.jwtOnly: true`.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Eclipse Foundation | Eclipse Ditto | 1.1.0 – 3.9.8 | — | No fix listed | CNA |
- Eclipse Ditto VendorEclipse Foundation Affected 1.1.0 – 3.9.8 Fixed in — No fix listed CNA
Remediation
The sources list no fixed version for Eclipse Ditto. Disable pre-authentication by setting ENABLE_PRE_AUTHENTICATION=false in the gateway, or set global.jwtOnly to true when using the Helm chart.
Written with Claude Haiku 5.5 from the sources below · 2026-11-19
Timeline
- 2026-11-19 Threatist record created from CVE-2026-120753
- 2026-11-19 CISA SSVC decision points changed
References
More Eclipse Foundation vulnerabilities
- TI-2023-23979 HTTP/2 request cancellation lets attackers exhaust server resources KEVCVSS 3.1HIGH 7.5
- TI-2014-07619 Git before 1.8.5.6, 1.9.x before 1.9.5, 2.0.x before 2.0.5, 2.1.x before 2.1.4, and 2.2.x… CVSS 3.1CRITICAL 9.8
- TI-2026-93743 Remote heap out-of-bounds read/write in Eclipse Mosquitto CVSS 3.1CRITICAL 9.8
- TI-2026-81947 Unauthenticated command injection in Eclipse Che che-machine-exec CVSS 3.1CRITICAL 9.8
- TI-2026-13216 CWE-863: ABAC authorization bypass via trailing slash route normalization in Eclipse BaSyx Go Components CVSS 3.1CRITICAL 9.8
- TI-2026-06514 Path traversal in Eclipse BaSyx CVSS 3.1CRITICAL 10.0
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences