Improper access control in LibreChat - CVE-2026-31950

 

Improper access control in LibreChat - CVE-2026-31950

Published: April 27, 2026


Vulnerability identifier: #VU128116
CSH Severity: Low
CVSS v4: 6 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-31950
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to disclose sensitive information.

The vulnerability exists due to improper access control in the /api/agents/chat/stream/:streamId endpoint when handling SSE stream subscription requests. A remote user can send a request with a valid stream ID to disclose sensitive information.

Only instances with agents enabled are vulnerable.


Affected software

LibreChat

How to mitigate CVE-2026-31950

Install security update from vendor's website.

LibreChat - update to 0.8.2

External References

Related Security Bulletins