HighVulnerabilityLLM-specific
CVE-2026-31942: LibreChat IDOR in API keys endpoint lets users overwrite other users' keys
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-31942
- Published
- Record updated
- 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.
Related items
- HighCVE-2026-88968: Claude Code Edit tool symlink race overwrites files outside workspace on macOSSame vendor · NVD/CVE Database
- HighCVE-2026-88066: Claude Desktop on Windows git.exe execution via search pathSame vendor · NVD/CVE Database
- HighCVE-2026-62331: praktor path traversal via Telegram document upload filenamesSame vendor · NVD/CVE Database
- MediumCVE-2026-111372: AI ChatBot for WooCommerce WoowBot plugin authorization bypass in RAG syncSame vendor · NVD/CVE Database
- MediumGHSA-w4fh-qvv9-3v23: Model Context Protocol Python SDK: Server bearer-token authentication accepts tokens issued for a different resource serverSame vendor · GitHub Advisory Database