{"id":"CVE-2026-120753","summary":"Eclipse Ditto gateway accepts `x-ditto-pre-authenticated` from a URL query parameter, allowing unauthenticated subject impersonation (default Helm chart)","details":"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`.","aliases":["GHSA-chwq-wg27-qvfr"],"modified":"2026-11-19T16:00:12.116036061Z","published":"2026-11-19T14:48:18.729Z","database_specific":{"cwe_ids":["CWE-287","CWE-290"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120753.json","cna_assigner":"eclipse"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120753.json"},{"type":"ADVISORY","url":"https://github.com/eclipse-ditto/ditto/security/advisories/GHSA-chwq-wg27-qvfr"},{"type":"WEB","url":"https://gitlab.eclipse.org/security/cve-assignment/-/work_items/539"},{"type":"WEB","url":"https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/1346"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120753"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/eclipse-ditto/ditto","events":[{"introduced":"02f37ab677f464b0a48018443629f7b45c536561"},{"last_affected":"fad8574137a0d8cb8678ca178641aeeee1c5a26a"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"1.1.0"},{"last_affected":"3.9.8"}],"source":"AFFECTED_FIELD"}]}}],"versions":["3.9.8","3.9.7","helm-chart-4.6.0","3.9.6","helm-chart-4.5.0","3.9.5","helm-chart-4.4.0","3.9.4","helm-chart-4.3.0","3.9.3","helm-chart-4.2.0","3.9.2","helm-chart-4.1.0","3.9.1","helm-chart-4.0.0","3.9.0","3.9.0-M6","3.9.0-M5","3.9.0-M4","3.9.0-M3","3.9.0-M2","3.9.0-M1","3.8.0","3.8.0-M6","3.8.0-M5","3.8.0-M4","3.8.0-M3","3.8.0-M2","3.8.0-M1","3.7.0","3.6.0","3.5.0","3.4.0","3.4.0-M2","3.4.0-M1","3.3.4","3.3.3","3.3.2","3.3.2-M1","3.2.0","3.1.0","3.1.0-M1","3.0.0","2.3.2","2.4.0","2.4.0-M1","2.3.1","2.3.0","2.2.0","2.1.0","2.1.0-M3","2.1.0-M2","2.1.0-M1","2.0.0","2.0.0-M2","2.0.0-M1","1.4.0","1.3.0","1.2.0","1.1.1","1.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-120753.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}