Insecure Direct Object Reference in LibreChat API Key Management
CVE-2026-31942
7.1HIGH
What is CVE-2026-31942?
In versions of LibreChat up to and including 0.7.6, an Insecure Direct Object Reference vulnerability exists within the API keys management endpoint. The flaw enables any authenticated user to manipulate the userId parameter in the request body, allowing them to overwrite another user's API keys. This could lead to unauthorized access and potential service disruptions, as the attacker might configure their own API keys for services like OpenAI, Anthropic, or Azure, effectively rerouting conversations or blocking access. This vulnerability has been addressed in version 0.8.3-rc1.
Affected Version(s)
LibreChat < 0.8.3-rc1
