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

Medium 6.3 Published Updated

Normal users can improperly export application DSL configurations, bypassing intended administrator-only access controls in the Dify platform.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-32790?

CVE-2025-32790 is a medium-severity missing authorization vulnerability in langgenius dify, published on 18 Apr 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-284

Which versions are affected by CVE-2025-32790?

It affects 1 product.

Products include Langgenius Dify.

How do I fix CVE-2025-32790?

No fix has been published for CVE-2025-32790 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2025-32790 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-32790 exists.

Sources

Also known as GHSA-jp6m-v4gw-5vgp.

Is CVE-2025-32790 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free