Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1310 CNY

100%

CVE-2026-31942— LibreChat has IDOR in API Keys Management that allows any authenticated user to overwrite other users' API keys

CVSS 7.1 · High

Possible ATT&CK Techniques 1AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-31942

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
LibreChat has IDOR in API Keys Management that allows any authenticated user to overwrite other users' API keys
Source: NVD (National Vulnerability Database)
Vulnerability Description
LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. In versions up to and including 0.7.6, an Insecure Direct Object Reference (IDOR) vulnerability exists in the API keys management endpoint (PUT /api/keys). Due to the use of the JavaScript object spread operator after setting the authenticated user's ID, any authenticated user can inject a userId parameter in the request body to overwrite any other user's API keys (e.g., OpenAI, Anthropic, Azure). This allows an attacker to replace a victim's API key configuration, potentially routing the victim's conversations through attacker-controlled keys or denying service by providing invalid keys. This is patched in version 0.8.3-rc1.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
Source: NVD (National Vulnerability Database)
Vulnerability Type
授权机制缺失
Source: NVD (National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
danny-avilaLibreChat < 0.8.3-rc1 -

II. Public POCs for CVE-2026-31942

#POC DescriptionSource LinkShenlong Link
AI-Generated POCVerified env Premium
Qwen3.6-35B-A3B · 7980 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-31942

登录查看更多情报信息。

Vendor Advisories for CVE-2026-31942 (1)

Same Patch Batch · danny-avila · 2026-06-02 · 4 CVEs total

CVE-2026-326259.6 CRITICALLibreChat Exfiltrates Server Secrets via MCP Server URL Injection
CVE-2026-446536.5 MEDIUMLibreChat Shared MCP Server View Leaks Decrypted Admin Secrets
CVE-2026-44654LibreChat: Shared-agent editor can globally delete owner's file records — breaks owner's o

IV. Related Vulnerabilities

V. Comments for CVE-2026-31942

No comments yet


Leave a comment