Summary
CVE-2026-135150 is a critical authentication bypass (authentication bypass by spoofing, CWE-290; also CWE-436) in Eclipse Ditto. With pre-authentication enabled, which is the default, an unauthenticated remote attacker can impersonate arbitrary policy subjects and read, modify and delete Things. The CNA rates it CVSS 9.1 (Critical).
Technical details
- Root cause: nginx and the Ditto gateway interpret request paths differently. nginx normalizes the path when matching locations but forwards the raw URI, while the gateway preserves percent-encoded characters. A crafted path using encoded slashes (
%2f) and dot segments therefore routes the request to an nginx location that requires no authentication. - The bundled nginx locations proxy requests without overwriting the client-supplied
x-ditto-pre-authenticatedheader, which the gateway trusts by design. - The optional Helm chart Ingress routes directly to the gateway and forwards client headers without sanitization.
- Trigger conditions: bundled nginx configuration or Ingress in use with pre-authentication enabled (the default).
- Attack vector: network, no authentication or user interaction required.
- Impact: impersonation of arbitrary policy subjects, with read, modify and delete access to Things.
Affected software
- Eclipse Ditto gateway 1.1.0 through 3.9.9
- Eclipse Ditto Helm chart 4.9.0 and earlier
Severity
CVSS v4.0 base score 9.1 (Critical), as assigned by the CNA (Eclipse Foundation): 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. No CVSS v3.1 vector was published in the sources reviewed.
Mitigation and recommended actions
- Immediate: the advisory states that fixes are planned in Ditto 3.9.10 and 3.8.16. They will clear the header in proxy locations, reject raw paths containing dot segments, and add Helm validation for Ingress with pre-authentication. Upgrade once they are available.
- Workarounds until patched:
- Disable pre-authentication (
ENABLE_PRE_AUTHENTICATION=false). - Set
global.jwtOnly: truein the Helm chart. - Add
proxy_set_header x-ditto-pre-authenticated "";to the nginx locations.
- Disable pre-authentication (

