{"id":"CVE-2026-31950","summary":"LibreChat's IDOR in SSE Stream Subscription Allows Reading Other Users' Chats","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.","aliases":["GHSA-f6rf-vm44-wh5g"],"modified":"2026-08-12T03:51:13.281777626Z","published":"2026-03-27T19:25:25.007Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31950.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-284"]},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/danny-avila/librechat","events":[{"introduced":"24e8a258cd8fa1ff42c02cf15408079f1dbe07b0"},{"fixed":"efbc088642afb69540efae9518b66e07760b23b7"}],"database_specific":{"source":["AFFECTED_FIELD","CPE_STRING"],"cpe":["cpe:2.3:a:librechat:librechat:0.8.2:rc2:*:*:*:*:*:*","cpe:2.3:a:librechat:librechat:0.8.2:rc3:*:*:*:*:*:*"],"extracted_events":[{"introduced":"0.8.2-rc2"},{"fixed":"0.8.2"},{"last_affected":"0.8.2-rc2"},{"introduced":"0.8.2-rc3"},{"last_affected":"0.8.2-rc3"}]}}],"versions":["0.8.2-rc2","0.8.2-rc3","v0.8.2-rc3","chart-1.9.6","v0.8.2-rc2","chart-1.9.5"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31950.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}