CVE-2026-31951: CWE-200: Exposure of Sensitive Information to an Unauthorized Actor in danny-avila LibreChat
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 Analysis
Technical Summary
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.
CVE-2026-31951: CWE-200: Exposure of Sensitive Information to an Unauthorized Actor in danny-avila 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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.