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.
Problem types
Product status
Any version
Credits
Ido Shani and Gal Zaban of Zafran Security
References
huntr.com/bounties/35b7ad59-e35d-443f-bf77-387bfb932ec0
github.com/langgenius/dify/pull/35796
www.vulncheck.com/...l-via-plugin-daemon-internal-api-access