Dify Improper Access Control Vulnerability Allowing Unauthorized APP Detail Edits

Vulnerability

An access control vulnerability has been identified in Dify, an open-source platform for developing LLM applications. Prior to version 0.6.12, normal users were improperly granted permissions to edit APP names, descriptions, and icons. This flaw allowed non-admin users to modify app details, even when they were restricted from viewing the apps, thereby posing a security risk to the application's integrity. The issue has been patched in version 0.6.12.

Impact

This vulnerability allows unauthorized users to modify APP details, such as names, descriptions, and icons, which can lead to data corruption, misrepresentation, and potential exploitation by malicious users.

Reproduction

The vulnerability can be reproduced by a normal user who is restricted from viewing certain apps but is still able to access the editing APIs for APP details. This can be done by sending requests to the APP editing endpoints without the necessary permissions, as the access control flaw allows these modifications to be made despite the user's restricted view access.

Remediation

Users are advised to update to Dify version 0.6.12 or later, and to review and implement role-based access controls (RBAC) to ensure that only users with admin privileges can modify APP details.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
4.6
remediation
7.9
relevance
0.0
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.