Dify Has Broken Access Control on Log Message Endpoint Allows Reading of Chats of Others
Dify is an open-source LLM app development platform. In version 1.8.1, a broken access control vulnerability on the /console/api/apps/chat-messages?conversation_id=&limit=10 endpoint allows users in the same workspace to read chat messages of other users. A regular user is able to read the query data and the filename of the admins and probably other users chats, if they know the conversation_id. This impacts the confidentiality of chats. This issue has been patched in version 1.9.0.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-59422
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 05:03 UTC · Revision 1
Source evidence
Dify Has Broken Access Control on Log Message Endpoint Allows Reading of Chats of Others
core-osv · Original sourcePublished 25 Sept 2025, 13:19 UTC
Dify is an open-source LLM app development platform. In version 1.8.1, a broken access control vulnerability on the /console/api/apps/chat-messages?conversation_id=&limit=10 endpoint allows users in the same workspace to read chat messages of other users. A regular user is able to read the query data and the filename of the admins and probably other users chats, if they know the conversation_id. This impacts the confidentiality of chats. This issue has been patched in version 1.9.0.
osv:CVE-2025-59422
Complete source record
{
"id": "445409261b77d46dcd743ba87612ff6c4446d65f792792a9114bad4e09a16dd4",
"url": "https://osv.dev/vulnerability/CVE-2025-59422",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Dify Has Broken Access Control on Log Message Endpoint Allows Reading of Chats of Others",
"summary": "Dify is an open-source LLM app development platform. In version 1.8.1, a broken access control vulnerability on the /console/api/apps/chat-messages?conversation_id=&limit=10 endpoint allows users in the same workspace to read chat messages of other users. A regular user is able to read the query data and the filename of the admins and probably other users chats, if they know the conversation_id. This impacts the confidentiality of chats. This issue has been patched in version 1.9.0.",
"evidence": "osv:CVE-2025-59422",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2025-59422",
"aliases": [
"CVE-2025-59422",
"GHSA-jg5j-c9pq-w894"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/langgenius/dify",
"type": "GIT",
"events": [
{
"introduced": "c7700ac1762a4feccf60211d3dca3e39ec65a83c"
},
{
"fixed": "b2d8a7eaf1693841411934e2056042845ab4f354"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "= 1.8.1"
},
{
"last_affected": "= 1.8.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"fixed": "b2d8a7eaf1693841411934e2056042845ab4f354"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"1.8.1",
"= 1.8.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-59422.json"
}
}
],
"modified": "2026-10-28T02:30:33.157391278Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59422.json",
"https://github.com/langgenius/dify/security/advisories/GHSA-jg5j-c9pq-w894",
"https://nvd.nist.gov/vuln/detail/CVE-2025-59422",
"https://github.com/langgenius/dify/commit/b2d8a7eaf1693841411934e2056042845ab4f354"
],
"provider_metadata": {
"cwe_ids": [
"CWE-284"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59422.json"
}
},
"related_cves": [
{
"value": "CVE-2025-59422",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 500429,
"published_at": "2025-09-25T13:19:11.385+00:00"
}