Improper access control in Dify - #VU139796
Published: July 27, 2026
Dify
Detailed vulnerability description
The vulnerability allows a remote user to disclose sensitive information.
The vulnerability exists due to improper access control in the /console/api/files/<file_id>/preview endpoint and FileService.get_file_preview() when handling preview requests for user-supplied file identifiers. A remote user can request a preview for another tenant's file_id to disclose sensitive information.
Exploitation requires knowledge of a victim file_id.