Vulnerability · Published Apr 18, 2025 · Assigned by GitHub_M
CVE-2025-32795Dify Allows Insecure User Role Access Control for APP Editing
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.3% (higher than 23% 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 are improperly granted permissions to edit APP names, descriptions and icons. This access control flaw allows non-admin users to modify app details, despite being restricted from viewing apps, which poses a security risk to the integrity of the application. This issue has been patched in version 0.6.12. A workaround for this vulnerability involves updating the 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 modify app details.
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:H/A:N
References
- https://github.com/langgenius/dify/security/advisories/GHSA-gg5w-m2vw-vmmj x_refsource_CONFIRM
- https://github.com/langgenius/dify/pull/5266 x_refsource_MISC