{"id":"CVE-2026-120753","aliases":["CVE-2026-120753"],"related":[],"kind":"vulnerability","state":"published","title":"Eclipse Ditto gateway accepts `x-ditto-pre-authenticated` from a URL query parameter, allowing unauthenticated subject impersonation (default Helm chart)","summary":"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`.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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`.","source":"cvelist"}],"published":"2026-11-19T14:48:18.729Z","modified":"2026-11-24T19:10:01.980Z","severity":{"scorer":"eclipse","scheme":"CVSS:4.0","vector":"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","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"eclipse","scheme":"CVSS:4.0","vector":"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","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-287","CWE-290"],"affected":[{"ranges":[{"type":"semver","introduced":"1.1.0","lastAffected":"3.9.8","status":"affected"}],"vendor":"Eclipse Foundation","product":"Eclipse Ditto","source":"cvelist"}],"references":[{"url":"https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/1346","tags":["exploit"],"sources":["cvelist","nvd"]},{"url":"https://github.com/eclipse-ditto/ditto/security/advisories/GHSA-chwq-wg27-qvfr","tags":[],"sources":["cvelist","nvd"]},{"url":"https://gitlab.eclipse.org/security/cve-assignment/-/work_items/539","tags":[],"sources":["cvelist","nvd"]}],"credits":["Naveen S (https://github.com/mappygrid/)"],"assigner":"eclipse","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-11-19T20:09:50.909Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-120753","url":"https://www.cve.org/CVERecord?id=CVE-2026-120753","licence":"CVE Terms of Use","modified":"2026-11-19T20:11:29.225Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-120753","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120753","licence":"Public domain","modified":"2026-11-24T19:10:01.980Z"}],"updatedAt":"2026-11-25T22:59:52.010Z","epss":{"score":0.00782,"percentile":0.57186,"date":"2026-12-01T12:00:22.000Z"}}