{"id":"CVE-2025-32790","summary":"Dify Allows Insecure User Role Access Control for APP DSL Exporting","details":"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.","aliases":["GHSA-jp6m-v4gw-5vgp"],"modified":"2026-08-12T03:51:12.819927942Z","published":"2025-04-18T12:15:11.487Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-284"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/32xxx/CVE-2025-32790.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/32xxx/CVE-2025-32790.json"},{"type":"ADVISORY","url":"https://github.com/langgenius/dify/security/advisories/GHSA-jp6m-v4gw-5vgp"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-32790"},{"type":"FIX","url":"https://github.com/langgenius/dify/commit/59ad091e69736bc9dc1a3bace62ec0a232346246"},{"type":"FIX","url":"https://github.com/langgenius/dify/pull/5841"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/langgenius/dify","events":[{"introduced":"0"},{"fixed":"17f22347ae5971f3b325ac99ade6a9e81061c581"},{"fixed":"59ad091e69736bc9dc1a3bace62ec0a232346246"}],"database_specific":{"cpe":"cpe:2.3:a:langgenius:dify:*:*:*:*:*:node.js:*:*","extracted_events":[{"introduced":"0"},{"fixed":"0.6.13"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["0.6.12-fix1","0.6.12","0.6.11","0.6.10","0.6.9","0.6.8","0.6.7","0.6.6","0.6.5","0.6.4","0.6.3","0.6.2","0.6.1","0.6.0-fix1","0.6.0","0.5.11-fix1","0.5.11","0.5.10","0.5.9","0.5.8","0.5.7","0.5.6","0.5.5","0.5.4","0.5.3","0.5.2","0.5.1","0.5.0","0.4.9","0.4.8","0.4.7","0.4.6","0.4.5","0.4.4","0.4.3","0.4.2","0.4.1","0.4.0","0.3.34","0.3.33","0.3.32","0.3.31-fix3","0.3.31-fix2","0.3.31-fix1","0.3.31","0.3.30","0.3.29","0.3.28","0.3.27","0.3.26","0.3.25","0.3.24","0.3.23","0.3.22","0.3.21","0.3.20","0.3.19","0.3.18","0.3.17","0.3.16","0.3.15","0.3.14","0.3.13","0.3.12","0.3.11","0.3.10","0.3.9","0.3.8","0.3.7","0.3.6","0.3.5","0.3.4","0.3.3","0.3.2","0.3.1","0.3.0","0.2.2","0.2.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-32790.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"}]}