# CVE-2026-120753: Eclipse Ditto gateway accepts `x-ditto-pre-authenticated` from a URL query parameter, allowing unauthenticated subject impersonation (default Helm chart)

- Severity: Critical 9.1 (CVSS:4.0, scored by eclipse) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.78%, higher than 57% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-19T14:48:18.729Z
- Modified: 2026-11-24T19:10:01.980Z
- Weaknesses: CWE-287, CWE-290
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: eclipse

## Description

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`.

(As written by CVE List.)

## Affected

- Eclipse Foundation Eclipse Ditto: from 1.1.0 up to 3.9.8

## References

- <https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/1346> (exploit)
- <https://github.com/eclipse-ditto/ditto/security/advisories/GHSA-chwq-wg27-qvfr>
- <https://gitlab.eclipse.org/security/cve-assignment/-/work_items/539>

## Sources

- CVE List: [CVE-2026-120753](https://www.cve.org/CVERecord?id=CVE-2026-120753), CVE Terms of Use, modified 2026-11-19
- NVD: [CVE-2026-120753](https://nvd.nist.gov/vuln/detail/CVE-2026-120753), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2026-120753 · Whole record: https://cve.day/CVE-2026-120753.json · Rebuilt by cve.day 2026-11-25T22:59:52.010Z
