CVE-2026-31951
Severity CVSS v4.0:
Pending analysis
Type:
CWE-200
Information Leak / Disclosure
Publication date:
27/03/2026
Last modified:
30/03/2026
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.
Impact
Base Score 3.x
6.80
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:librechat:librechat:*:*:*:*:*:*:*:* | 0.8.2 (including) | 0.8.3 (excluding) |
| cpe:2.3:a:librechat:librechat:0.8.3:rc1:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



