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

Published Mar 27, 2026
·
Updated

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 Software

3 affected components
librechat librechat>=0.8.2-rc2<=0.8.2-rc3
librechat librechat=0.8.2-rc2
librechat librechat=0.8.2-rc3

Event History

Mar 27, 2026
CVE Published
via MITRE·07:25 PM
Data Sourced
via MITRE·07:25 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-31950?

CVE-2026-31950 is classified as a high severity vulnerability due to its potential for unauthorized access to sensitive user data.

2

How do I fix CVE-2026-31950?

To fix CVE-2026-31950, ensure that the SSE streaming endpoint properly verifies user ownership of the chat stream before allowing access.

3

Which versions of LibreChat are affected by CVE-2026-31950?

CVE-2026-31950 affects LibreChat versions 0.8.2-rc2 through 0.8.2-rc3.

4

What type of vulnerability is CVE-2026-31950?

CVE-2026-31950 is an Insecure Direct Object Reference (IDOR) vulnerability that allows unauthorized access to other users' chats.

5

What impact does CVE-2026-31950 have on users?

CVE-2026-31950 can lead to unauthorized users reading private chat messages from other users, compromising user privacy.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203