Dify Allows Insecure User Role Access Control for APP DSL Exporting
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-284.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| langgenius | dify | before 0.6.13 | 0.6.13 | Patch available | CNA |
- dify Vendorlanggenius Affected before 0.6.13 Fixed in 0.6.13 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:langgenius:dify:*:*:*:*:*:node.js:*:* | before 0.6.13 | Vulnerable | langgenius |
- cpe:2.3:a:langgenius:dify:*:*:*:*:*:node.js:*:* Versions before 0.6.13 Vulnerable ·langgenius
Remediation
- Fix · CNA dify (langgenius) Fixed in 0.6.13
Timeline
- 2026-10-02 Threatist record created from CVE-2025-32790
References
More langgenius Dify vulnerabilities
- TI-2025-35265 Default credentials in Dify thru 1.5.1. CVSS 3.1CRITICAL 9.8
- TI-2025-03045 Unsanitized Input in langgenius/dify CVSS 3.1HIGH 7.2
- TI-2025-01548 Admin account takeover through weak Pseudo-Random number generator used in generating… CVSS 3.1HIGH 8.8
- TI-2026-30470 Dify Vulnerable to Stored XSS via SVG-file upload CVSS 4.0MEDIUM 6.9
- TI-2024-11840 Authentication Bypass in langgenius/dify CVSS 3.0HIGH 8.1
- TI-2024-11170 Improper Restriction of Excessive Authentication Attempts in langgenius/dify CVSS 3.1HIGH 8.1
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences