Description
Dify version 1.14.1 and prior contain a path traversal vulnerability that allows authenticated users to manipulate requests forwarded to the Plugin Daemon's internal REST API by exploiting insufficient URL path sanitization. Attackers can traverse out of their authorized tenant path using unencoded dot sequences in task identifiers or manipulated filename parameters to access internal endpoints such as debug interfaces, requiring only knowledge of the victim tenant's UUID. NOTE: Dify Cloud allows unauthenticated free self-registration, making account creation trivially accessible to any attacker.
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.1affected
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://huntr.com/bounties/35b7ad59-e35d-443f-bf77-387bfb932ec0 ↗
- https://github.com/langgenius/dify/pull/35796 ↗
- https://www.vulncheck.com/advisories/dify-path-traversal-via-plugin-daemon-internal-api-access ↗