Skip to content
HighVulnerabilityLLM-specific

CVE-2026-31942: LibreChat IDOR in API keys endpoint lets users overwrite other users' keys

Identifier
CVE-2026-31942
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.2%

Summary

CVE-2026-31942 affects LibreChat in versions up to and including 0.7.6. An Insecure Direct Object Reference flaw in the PUT /api/keys endpoint lets any authenticated user add a userId parameter to the request body, which overwrites another user's API keys (such as OpenAI, Anthropic or Azure). An attacker could route a victim's conversations through attacker-controlled keys or cause denial of service with invalid keys.

Mitigation

Patched in version 0.8.3-rc1.