---
id: CVE-2026-120753
title: >-
  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 fr…
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 fr…
severity: critical
cvss: 9.1
cvssVector: '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'
cwe:
  - CWE-287
  - CWE-290
vendor: Eclipse Foundation
product: Eclipse Ditto
affected:
  - eclipse_ditto >= 1.1.0 <= 3.9.8
published: '2026-11-19'
updated: '2026-11-24'
sourceUpdated: '2026-11-24T19:10:01.980'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-120753'
references:
  - url: >-
      https://github.com/eclipse-ditto/ditto/security/advisories/GHSA-chwq-wg27-qvfr
    label: emo@eclipse.org
  - url: 'https://gitlab.eclipse.org/security/cve-assignment/-/work_items/539'
    label: emo@eclipse.org
  - url: >-
      https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/1346
    label: emo@eclipse.org
  - url: >-
      https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/1346
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - cve.org
  - exploit-available
epss: 0.00782
epssPercentile: 0.56754
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-11-19T20:09:50.909629Z'
cvssSource: cna
ingestedAt: '2026-11-19T14:53:19.786Z'
---

## Overview

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

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
