{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "b2d8a7eaf1693841411934e2056042845ab4f354"
            }
          ],
          "repo": "https://github.com/langgenius/dify",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-jg5j-c9pq-w894"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-284"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59422.json"
  },
  "details": "Dify is an open-source LLM app development platform. In version 1.8.1, a broken access control vulnerability on the /console/api/apps/\u003cAPP_ID\u003echat-messages?conversation_id=\u003cCONVERSATION_ID\u003e\u0026limit=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.",
  "id": "CVE-2025-59422",
  "modified": "2026-04-01T23:10:11.586842275Z",
  "published": "2025-09-25T13:19:11.385Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59422.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/langgenius/dify/security/advisories/GHSA-jg5j-c9pq-w894"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-59422"
    },
    {
      "type": "FIX",
      "url": "https://github.com/langgenius/dify/commit/b2d8a7eaf1693841411934e2056042845ab4f354"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Dify Has Broken Access Control on Log Message Endpoint Allows Reading of Chats of Others"
}