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…

CVE-2026-31951: CWE-200: Exposure of Sensitive Information to an Unauthorized Actor in danny-avila LibreChat

0
Medium
VulnerabilityCVE-2026-31951cvecve-2026-31951cwe-200
Published: Fri Mar 27 2026 (03/27/2026, 19:29:25 UTC)
Source: CVE Database V5
Vendor/Project: danny-avila
Product: LibreChat

Description

LibreChat is a ChatGPT clone with additional features. In versions 0.8.2-rc1 through 0.8.3-rc1, user-created MCP (Model Context Protocol) servers can include arbitrary HTTP headers that undergo credential placeholder substitution. An attacker can create a malicious MCP server with headers containing `{{LIBRECHAT_OPENID_ACCESS_TOKEN}}` (and others), causing victims who call tools on that server to have their OAuth tokens exfiltrated. Version 0.8.3-rc2 fixes the issue.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/04/2026, 10:54:50 UTC

Technical Analysis

In LibreChat versions 0.8.2-rc1 to 0.8.3-rc1, the Model Context Protocol (MCP) implementation allows user-created servers to include arbitrary HTTP headers that undergo credential placeholder substitution. An attacker can exploit this by creating a malicious MCP server with headers containing placeholders such as {{LIBRECHAT_OPENID_ACCESS_TOKEN}}, causing the victim's OAuth tokens to be sent to the attacker. This results in exposure of sensitive authentication tokens to unauthorized actors. The vulnerability is tracked as CVE-2026-31951 with a CVSS 3.1 base score of 6.8 (medium severity). The issue is resolved in LibreChat version 0.8.3-rc2.

Potential Impact

The vulnerability allows unauthorized disclosure of OAuth access tokens from users interacting with malicious MCP servers, potentially enabling unauthorized access to user accounts or services relying on those tokens. There is no indication of integrity or availability impact. No known exploits in the wild have been reported.

Mitigation Recommendations

Users should upgrade LibreChat to version 0.8.3-rc2 or later, where this vulnerability is fixed. Since this is a client-side application vulnerability and not a cloud service, remediation requires applying the official patch by updating the software. Patch status is confirmed fixed in version 0.8.3-rc2.

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.657Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69c6de373c064ed76fea1d6b

Added to database: 3/27/2026, 7:44:55 PM

Last enriched: 4/4/2026, 10:54:50 AM

Last updated: 5/11/2026, 6:05:28 AM

Views: 99

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