CVE-2026-120753
Eclipse Ditto authentication bypass in gateway
Unauthenticated remote attackers can impersonate any policy subject and read and modify Things and Policies.
Texto original en inglés · Ver en español
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
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-120753 divulgada · CVSS 9.1 (CNA) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación PoC pública | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Fuente: ENISA EUVD | Registro visto por primera vez en ENISA EUVD | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Eclipse Ditto's gateway can accept a caller-supplied pre-authenticated subject through an undocumented URL query parameter, so a remote attacker who doesn't need to log in can act as any chosen policy subject. That lets them read and modify Things and Policies with the permissions of that subject.
Affects Eclipse Ditto 1.1.0 through 3.9.8 with gateway pre-authentication enabled, including the default Helm chart setup with global.jwtOnly=false. Fixed in 3.9.9 and 3.8.15.
Descripción original del registro (eclipse)
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`.
Condiciones y alcance
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
Eclipse Ditto |
Corregida | 3.8.15, 3.9.9 | — | — |
3.8.153.9.9Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/1346https://github.com/eclipse-ditto/ditto/security/advisories/GHSA-chwq-wg27-qvfrhttps://gitlab.eclipse.org/security/cve-assignment/-/work_items/539Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
