Skip to content
DayZeroHub
Critical CVSS 9.1CVE-2026-135150

Eclipse Ditto: Unauthenticated impersonation via shipped nginx configuration (CVE-2026-135150)

Eclipse Foundation Eclipse Ditto

Summary

The nginx reverse proxy configurations shipped with Eclipse Ditto 1.1.0 to 3.9.9 forward a client-supplied pre-authentication header, allowing an unauthenticated remote attacker to impersonate policy subjects when pre-authentication is enabled. The CVSS 4.0 score is 9.1 (critical).

What happened

The nginx configurations shipped with Ditto (Helm chart, Docker Compose, Kubernetes and OpenShift) forward the client-supplied x-ditto-pre-authenticated header to the Ditto gateway on locations that do not apply nginx authentication, such as /api/2/connections. nginx selects the location based on the normalized request URI but forwards the raw URI, and the gateway does not treat an encoded slash (%2f) as a path separator. A crafted request path is therefore routed by nginx through an unauthenticated location and by the gateway to the regular Things and Policies HTTP API, including routes that send live messages to devices. Additionally, the optional Ingress of the Helm chart (Ditto 3.9.0 to 3.9.9) routes requests directly to the gateway without setting or removing that header, and the WebSocket Ingress of the Helm chart of Ditto 3.3.0 to 3.8.15 does not set it, allowing the same impersonation without path manipulation when pre-authentication is enabled. According to the source, this bypasses the fix for CVE-2026-120753. The associated weaknesses are CWE-290 and CWE-436.

Why it matters

According to the source, with pre-authentication enabled (the default in the Helm chart and the Docker Compose setup), an unauthenticated remote attacker can impersonate arbitrary policy subjects, read, modify and delete Things, read Policies, send messages to devices and create entities. The CVSS 4.0 score is 9.1 (critical; 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, assigned by CNA:eclipse). CISA's KEV catalog does not list active exploitation, and the source does not indicate evidence that this was a zero-day.

Affected products and versions

Eclipse Ditto (Eclipse Foundation), versions >= 1.1.0 and <= 3.9.9. Specific cases: optional Helm chart Ingress in Ditto 3.9.0 to 3.9.9; Helm chart WebSocket Ingress in Ditto 3.3.0 to 3.8.15.

ProductVersionsFixed in
Eclipse Foundation Eclipse Ditto>= 1.1.0, <= 3.9.9—

Action recommended by the source

The source does not state a fixed version or a specific mitigation in the available information. Readers are advised to consult the vendor advisory: https://github.com/eclipse-ditto/ditto/security/advisories/GHSA-f779-cv8j-4p59

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-290, CWE-436

Relevant change history

  1. Advisory correction

    The preliminary version was replaced by the full write-up.

  2. Published

    Preliminary advisory published.

Summary written with AI assistance from the source data. See the sources and references for complete information. View sources