CVE-2026-31950: danny-avila LibreChat · Improper Access Control
Affects danny-avila LibreChatSource CVE Database V5
Not known to be exploited · CVSS 5.3 Medium : upgrade to 0.8.2 when convenient.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 12% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.8.2
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 27 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade danny-avila LibreChat to 0.8.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| danny-avilaLibreChat | Affected
| Fixed in
|
GitHubdanny-avila/LibreChatpkg:github/danny-avila/LibreChatOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2026-31950, organizations should immediately upgrade LibreChat to version 0.8.2 or later, where the access control flaw is patched. Until upgrade, restrict access to the SSE streaming endpoint (/api/agents/chat/stream/:streamId) by implementing additional network-level controls such as IP whitelisting or VPN-only access. Enforce strict authentication and authorization checks on all streaming endpoints to verify user ownership of requested resources. Conduct code reviews and penetration testing focused on access control mechanisms in real-time data streams. Monitor logs for unusual access patterns or repeated attempts to guess stream IDs. Educate developers on secure design principles for SSE and similar streaming technologies, emphasizing the need for robust session and resource validation. Consider implementing rate limiting and anomaly detection to prevent brute force enumeration of stream IDs. Finally, maintain an up-to-date inventory of LibreChat deployments and ensure timely application of security patches.
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.