CVE-2026-31951
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.
Published:Mar 27, 2026
Last Modified:Mar 31, 2026
EPS:Mar 27, 2026
EPSS Score:0.00032
CVSS Score:6.8
Affected Products
Vendor
Product
Action
Vendor
Danny-avila
Product
Libre Chat
Danny-avila
Libre Chat
Vendor
Librechat
Product
Librechat
Librechat
Librechat
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Related CVEs
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
