5.3medium
LibreChat's IDOR in SSE Stream Subscription Allows Reading Other Users' Chats
- Severity
- 5.3medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.24% (higher than 16% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| danny-avila LibreChat | >= 0.8.2-rc2, < 0.8.2 | CVE List |
| librechat librechat | 0.8.2 | NVD |
Classification
What each source says
CVE List
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.
NVD (es)
LibreChat es un clon de ChatGPT con características adicionales. En las versiones 0.8.2-rc2 hasta 0.8.2-rc3, el endpoint de streaming SSE “/API/agents/chat/stream/:streamId” no verifica que el usuario solicitante sea el propietario del stream. Cualquier usuario autenticado que obtenga o adivine un ID de stream válido puede suscribirse y leer el contenido de chat en tiempo real de otro usuario, incluyendo mensajes, respuestas de IA e invocaciones de herramientas. La versión 0.8.2 corrige el problema.
References
| https://github.com/danny-avila/LibreChat/security/advisories/GHSA-f6rf-vm44-wh5g | exploit, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-31950 changed 2026-03-27 | CVE Terms of Use |
| NVD | CVE-2026-31950 changed 2026-10-26 | Public domain |