CVE-2025-32796: Dify Allows Unauthorized APP Enable/Disable via API
Dify is an open-source LLM app development platform. Prior to version 0.6.12, a vulnerability was identified in the DIFY where normal users can enable or disable apps through the API, even though the web UI button for this action is disabled and normal users are not permitted to make such changes. This access control flaw allows non-admin users to make unauthorized changes, which can disrupt the functionality and availability of the APPS. This issue has been patched in version 0.6.12. A workaround for this vulnerability involves updating the API access control mechanisms to enforce stricter user role permissions and implementing role-based access controls (RBAC) to ensure that only users with admin privileges can send enable or disable requests for apps.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Difyto a version that resolves this vulnerability.Fixed in 0.6.12 - Configuration
Update Dify API access control mechanisms to enforce stricter user role permissions using RBAC, ensuring only users with admin privileges can send enable or disable requests for apps.
Dify API access control RBAC for app enable/disable requests = Only admin users allowed to send enable/disable requests
Event History
Frequently Asked Questions
What is the severity of CVE-2025-32796?
The severity of CVE-2025-32796 is considered to be moderate as it allows normal users to enable or disable apps through the API.
How do I fix CVE-2025-32796?
To fix CVE-2025-32796, upgrade to Dify version 0.6.12 or later where this vulnerability has been addressed.
What versions of Dify are affected by CVE-2025-32796?
CVE-2025-32796 affects all versions of Dify prior to version 0.6.12.
What types of users are impacted by CVE-2025-32796?
CVE-2025-32796 impacts normal users who can use the API to enable or disable apps despite restrictions in the web UI.
What actions can be exploited due to CVE-2025-32796?
Due to CVE-2025-32796, normal users can exploit the API to enable or disable applications that they are not supposed to access.