6.3medium
Dify Allows Insecure User Role Access Control for APP DSL Exporting
- Severity
- 6.3medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.30% (higher than 23% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
Dify is an open-source LLM app development platform. In versions 0.6.8 and prior, a vulnerability was identified in the DIFY AI where normal users are improperly granted permissions to export APP DSL. The feature in '/export' should only allow administrator users to export DSL. 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 export the APP DSL. This vulnerability is fixed in 0.6.13.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| langgenius dify | < 0.6.13, before 0.6.13 | CVE List, NVD |
All scores
| GitHub_M | 6.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| NVD | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
Dify is an open-source LLM app development platform. In versions 0.6.8 and prior, a vulnerability was identified in the DIFY AI where normal users are improperly granted permissions to export APP DSL. The feature in '/export' should only allow administrator users to export DSL. 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 export the APP DSL. This vulnerability is fixed in 0.6.13.
NVD (es)
Dify es una plataforma de desarrollo de aplicaciones LLM de código abierto. En las versiones 0.6.8 y anteriores, se identificó una vulnerabilidad en la IA de DIFY que permitía a los usuarios normales exportar DSL de la aplicación de forma incorrecta. La función en '/export' debería permitir únicamente a los usuarios administradores exportar DSL. Un workaround a esta vulnerabilidad consiste en actualizar los mecanismos de control de acceso para aplicar permisos de rol de usuario más estrictos e implementar controles de acceso basados en roles (RBAC) para garantizar que solo los usuarios con privilegios de administrador puedan exportar el DSL de la aplicación. Esta vulnerabilidad se corrigió en la versión 0.6.13.
References
| https://github.com/langgenius/dify/security/advisories/GHSA-jp6m-v4gw-5vgp | exploit, mitigation, vendor-advisory | |
| https://github.com/langgenius/dify/pull/5841 | issue-tracking, vendor-advisory | |
| https://github.com/langgenius/dify/commit/59ad091e69736bc9dc1a3bace62ec0a232346246 | patch | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-32790 changed 2025-04-18 | CVE Terms of Use |
| NVD | CVE-2025-32790 changed 2026-06-17 | Public domain |