Improper access control in Dify - CVE-2025-59422

 

Improper access control in Dify - CVE-2025-59422

Published: July 27, 2026


Vulnerability identifier: #VU139805
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2025-59422
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: LangGenius
Affected software:
Dify

Detailed vulnerability description

The vulnerability allows a remote user to disclose sensitive information.

The vulnerability exists due to improper access control in the /console/api/apps/<APP_ID>/chat-messages endpoint when handling requests with a conversation_id parameter. A remote user can send a crafted request using their own bearer token to disclose sensitive information.

Exploitation requires the attacker to be in the same workspace and to know the conversation_id of another user's chat.


How to mitigate CVE-2025-59422

Install security update from vendor's website.

Sources