CVE-2025-32790: Dify Allows Insecure User Role Access Control for APP DSL Exporting

Published Apr 18, 2025
·
Updated

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 Software

2 affected components
Dify dify<0.6.8
LangGenius Dify Node.js<0.6.13

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Dify to a version that resolves this vulnerability.

    Fixed in 0.6.13
  2. Configuration

    Update access control for the '/export' feature so only admin-privileged users can export APP DSL (prevent normal users from exporting).

    Dify /export endpoint Role-based access control (RBAC) for APP DSL exporting = Allow only administrator users

Event History

Apr 18, 2025
CVE Published
via MITRE·12:15 PM
Data Sourced
via MITRE·12:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-32790?

CVE-2025-32790 is considered a high severity vulnerability due to improper permission granting to normal users.

2

How do I fix CVE-2025-32790?

To fix CVE-2025-32790, upgrade to Dify DIFY AI version 0.6.9 or later where the vulnerability has been addressed.

3

What does CVE-2025-32790 affect?

CVE-2025-32790 affects Dify DIFY AI versions 0.6.8 and prior.

4

What type of vulnerability is CVE-2025-32790?

CVE-2025-32790 is a permission escalation vulnerability that allows normal users to export APP DSL.

5

What should I do if I cannot upgrade to fix CVE-2025-32790?

If upgrading is not feasible, ensure strict access control measures are in place to limit normal user permissions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203