CVE-2026-31950
JSON

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 packageVersionsReported by
danny-avila LibreChat>= 0.8.2-rc2, < 0.8.2CVE List
librechat librechat0.8.2NVD

Classification

CWE-284CWE-639

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

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

Sources

SourceRecordLicence
CVE ListCVE-2026-31950 changed 2026-03-27CVE Terms of Use
NVDCVE-2026-31950 changed 2026-10-26Public domain