Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-31951
VULNERABILITY

CVE-2026-31951

Common Vulnerabilities and Exposures record

MEDIUM

Summary

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.

Risk

CVSS
6.8
Severity
MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N

Timeline

Published
Mar 27, 2026 20:16
Modified
Oct 26, 2026 21:10
Last observed
Oct 26, 2026 19:00

CWE

CWE-200

Affected product identifiers

cpe:2.3:a:librechat:librechat:*:*:*:*:*:*:*:*
cpe:2.3:a:librechat:librechat:0.8.3:rc1:*:*:*:*:*:*

References