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.0: 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/E:U/U:Clear
CVE-ID: CVE-2026-31950
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: LibreChat
Affected software:
LibreChat

Detailed vulnerability description

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.


How to mitigate CVE-2026-31950

Install security update from vendor's website.

Sources