Vulnerability · Published Apr 18, 2025 · Assigned by GitHub_M
CVE-2025-32796Dify Allows Unauthorized APP Enable/Disable via API
Medium 6.5
In plain English
A medium-severity improper access control in dify from langgenius. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 37% of all known vulnerabilities).
Official description
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 products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| langgenius | dify | < 0.6.12 |
Weakness: CWE-284 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/langgenius/dify/security/advisories/GHSA-hqcx-598m-pjq4 x_refsource_CONFIRM
- https://github.com/langgenius/dify/pull/5266 x_refsource_MISC