Description
Dify before version 1.14.0 contains an authorization bypass vulnerability that allows authenticated users to read the full contents of files uploaded by other users within the same tenant by supplying an arbitrary file UUID in the files array of a chat-messages request. Attackers can exploit insufficient permission verification in the chat-messages endpoints to access files without ownership validation, bypassing workspace separation and signed URL protections to retrieve sensitive file contents through workflow processing.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
langgenius dify
Default version status: affected
0 to < 1.14.0affected
References
- https://www.zafran.io/resources/difytap-zafran-discovers-how-attackers-can-silently-wiretap-ai-data-across-tenants-on-a-platform-powering-1m-apps ↗
- https://github.com/langgenius/dify/releases/tag/1.14.0 ↗
- https://huntr.com/bounties/181136ec-d957-4b75-8ea7-6fa7b8abd01d ↗
- https://www.vulncheck.com/advisories/dify-authorization-bypass-via-file-uuid ↗