{"id":"CVE-2025-32790","state":"PUBLISHED","title":"Dify Allows Insecure User Role Access Control for APP DSL Exporting","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.","publishedAt":"2025-04-18T12:15:11.487Z","updatedAt":"2025-04-18T13:48:27.073Z","severity":{"score":6.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["langgenius dify"],"affected":[{"vendor":"langgenius","product":"dify","versions":[{"version":"< 0.6.13","status":"affected"}]}],"references":["https://github.com/langgenius/dify/security/advisories/GHSA-jp6m-v4gw-5vgp","https://github.com/langgenius/dify/pull/5841","https://github.com/langgenius/dify/commit/59ad091e69736bc9dc1a3bace62ec0a232346246"],"weaknesses":["CWE-284"],"ingestedAt":"2026-10-29T20:08:55.257Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/32xxx/CVE-2025-32790.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-32790","state":"PUBLISHED","datePublished":"2025-04-18T12:15:11.487Z","dateUpdated":"2025-04-18T13:48:27.073Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-04-10T12:51:12.281Z"},"containers":{"cna":{"title":"Dify Allows Insecure User Role Access Control for APP DSL Exporting","descriptions":[{"lang":"en","value":"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":[{"vendor":"langgenius","product":"dify","versions":[{"version":"< 0.6.13","status":"affected"}]}],"references":[{"url":"https://github.com/langgenius/dify/security/advisories/GHSA-jp6m-v4gw-5vgp","name":"https://github.com/langgenius/dify/security/advisories/GHSA-jp6m-v4gw-5vgp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/langgenius/dify/pull/5841","name":"https://github.com/langgenius/dify/pull/5841","tags":["x_refsource_MISC"]},{"url":"https://github.com/langgenius/dify/commit/59ad091e69736bc9dc1a3bace62ec0a232346246","name":"https://github.com/langgenius/dify/commit/59ad091e69736bc9dc1a3bace62ec0a232346246","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":6.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-284","lang":"en","description":"CWE-284: Improper Access Control","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-04-18T13:48:27.073Z"},"source":{"advisory":"GHSA-jp6m-v4gw-5vgp","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/langgenius/dify/security/advisories/GHSA-jp6m-v4gw-5vgp","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-18T12:43:20.214574Z","id":"CVE-2025-32790","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-18T12:43:23.481Z"}}]}}}