Improper access control in Dify - #VU139798
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 dataset creation and retrieval flows when handling dataset creation and update requests with an external_knowledge_api_id. A remote user can submit a dataset creation request using another tenant's external_knowledge_api_id to disclose sensitive information.
The attacker-owned dataset can become bound to a victim external API template, exposing victim endpoint metadata in the dataset response.