Summary
CVE-2026-120753 is a critical authentication bypass (CWE-290 / CWE-287) in the Eclipse Ditto gateway. When pre-authentication is enabled, an unauthenticated remote attacker can impersonate any subject and gain access to Things and Policies. The CVSS score is 9.1 (Critical).
Technical details
- Root cause: the gateway’s pre-authentication provider accepts the
x-ditto-pre-authenticatedvalue from a URL query parameter as well as from the trusted HTTP header. It uses the query parameter as a fallback when the header is absent. A reverse proxy that only overwrites the header does not stop a client from supplying its own subject. - Trigger conditions: pre-authentication is enabled. In the default Helm chart (
global.jwtOnly: false), the bundled nginx skips Basic authentication for requests carrying anAuthorization: Bearerheader. It forwards those requests without the pre-authentication header, which triggers the query-parameter fallback. - Attack vector: network, with no privileges and no user interaction. The attacker sends an invalid Bearer token together with
?x-ditto-pre-authenticated=<subject>. Pre-authentication succeeds before the JWT is validated. - Impact: the attacker authenticates as any chosen policy subject. They can read, modify or delete Things and Policies with that subject’s permissions.
- The Docker Compose deployment is reported as unaffected because its nginx configuration differs.
Affected software
- The CVE record lists Eclipse Ditto 1.1.0 through 3.9.8.
- The vendor advisory lists 3.1.0 through 3.8.14 and 3.9.0 through 3.9.8.
Severity
CVSS v4.0 base score 9.1 (Critical): CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N. The published record uses CVSS v4.0. A v3.1 vector was not provided.
Mitigation and recommended actions
- Immediate: upgrade to Eclipse Ditto 3.8.15 or 3.9.9.
- Workarounds if you cannot patch immediately:
- Disable pre-authentication in the gateway by setting
ENABLE_PRE_AUTHENTICATION=false. - For Helm deployments, set
global.jwtOnly: true.
- Disable pre-authentication in the gateway by setting

