Insecure Direct Object Reference in LibreChat API Key Management
CVE-2026-31942

7.1HIGH

Key Information:

Status
Vendor
CVE Published:
2 June 2026

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

References

CVSS V3.1

Score:
7.1
Severity:
HIGH
Confidentiality:
None
Integrity:
High
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.