Description
Dify before version 1.14.2 contains an authorization bypass vulnerability that allows authenticated editor users to set and enable trace configurations for any application regardless of tenant ownership. Attackers can exploit missing tenant ownership checks in the trace configuration endpoints to redirect all messages and responses from victim applications to attacker-controlled LLM trace providers. NOTE: Dify Cloud allows unauthenticated free self-registration, making account creation trivially accessible to any attacker.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| langgenius | dify | < 1.14.2 | 1.14.2 |
References
- https://www.zafran.io/resources/difytap-zafran-discovers-how-attackers-can-silently-wiretap-ai-data-across-tenants-on-a-platform-powering-1m-apps technical-description exploit
- https://huntr.com/bounties/a43076b2-fbc8-4750-9647-89a036b52f52 technical-description exploit
- dify 1.14.2 Release Notes release-notes
- https://github.com/langgenius/dify/pull/35793 issue-tracking patch
- https://github.com/langgenius/dify/commit/55d05fe52de880cd8497df8cea052351c594fad8 patch
- https://www.vulncheck.com/advisories/dify-authorization-bypass-via-trace-configuration-endpoints third-party-advisory