{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0.8.2-rc2"
              },
              {
                "fixed": "0.8.2"
              }
            ]
          },
          "events": [
            {
              "introduced": "24e8a258cd8fa1ff42c02cf15408079f1dbe07b0"
            },
            {
              "fixed": "efbc088642afb69540efae9518b66e07760b23b7"
            }
          ],
          "repo": "https://github.com/danny-avila/librechat",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-f6rf-vm44-wh5g"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-284"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31950.json"
  },
  "details": "LibreChat is a ChatGPT clone with additional features. In versions 0.8.2-rc2 through 0.8.2-rc3, the SSE streaming endpoint `/api/agents/chat/stream/:streamId` does not verify that the requesting user owns the stream. Any authenticated user who obtains or guesses a valid stream ID can subscribe and read another user's real-time chat content, including messages, AI responses, and tool invocations. Version 0.8.2 patches the issue.",
  "id": "CVE-2026-31950",
  "modified": "2026-04-01T23:07:59.217672809Z",
  "published": "2026-03-27T19:25:25.007Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31950.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/danny-avila/LibreChat/security/advisories/GHSA-f6rf-vm44-wh5g"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-31950"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "LibreChat's IDOR in SSE Stream Subscription Allows Reading Other Users' Chats"
}