Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 89%

CWE-862: Missing Authorization in danny-avila LibreChat (CVE-2026-31942)

0
High
VulnerabilityCVE-2026-31942gcvecve-2026-31942cwe-862
Published: 06/02/2026 (06/02/2026, 22:22:13 UTC)
Source: GCVE Database
Vendor/Project: danny-avila
Product: LibreChat

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.

CVSS v3.1

Score 7.1high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L

Affected software

GitHub Actionsmore threats →ai
danny-avila/LibreChat
pkg:github/danny-avila/LibreChat
Affected versions
=0.8.3-rc1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/03/2026, 01:48:29 UTC

Technical Analysis

LibreChat, an enhanced ChatGPT clone supporting multiple AI providers, contains an IDOR vulnerability (CWE-862) in its API keys management endpoint (PUT /api/keys) in versions up to 0.7.6. The flaw arises from the use of the JavaScript object spread operator after setting the authenticated user's ID, allowing an authenticated user to inject a userId parameter in the request body. This enables overwriting of any other user's API key configurations, potentially redirecting victim conversations through attacker-controlled keys or causing denial of service by invalidating keys. The vulnerability has a CVSS 3.1 score of 7.1 (high severity) with network attack vector, low attack complexity, requiring privileges and no user interaction. It is patched in version 0.8.3-rc1. As LibreChat is a cloud service, the vendor manages remediation server-side.

Potential Impact

An attacker with authenticated access can manipulate other users' API key configurations, which may allow them to intercept or alter AI conversation data by routing it through attacker-controlled keys or disrupt service by setting invalid keys. There is no direct confidentiality impact reported, but integrity and availability impacts are high. No known exploits in the wild have been reported.

Mitigation Recommendations

A patch is available in LibreChat version 0.8.3-rc1 that fixes this vulnerability. Since LibreChat is a cloud-hosted service, the vendor manages remediation server-side. Users should ensure they are using version 0.8.3-rc1 or later. Patch status is confirmed by the vendor advisory. No additional mitigation actions are specified.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-10T15:10:10.656Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null
Is Cloud Service
true
Gcve Source
db.gcve.eu

Threat ID: 6a1f872ae29bf47b5044be8a

Added to database: 06/03/2026, 01:45:14 UTC

Last enriched: 06/03/2026, 01:48:29 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 123

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses