LibreChatPublished 27 Mar 2026NVD status: Analyzed

CVE-2026-31951

LibreChat is a ChatGPT clone with additional features.

ComponentLibreChat
Severitymedium (CVSS 6.8)
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N
Published (NVD)2026-03-27
Last modified2026-10-26
Affected versions
>= 0.8.2-rc1, < 0.8.3-rc2
read from the advisory text, followed where the structured sources say otherwise
the advisory names 0.8.3-rc1 as the last affected release and 0.8.3-rc2 as the fix: the releases in between are counted as affected
Fixed in0.8.3-rc2
WeaknessCWE-200
CISA KEVnot listed

Versions, checked against NVD

NVD's analysis reads >= 0.8.2, < 0.8.3; = 0.8.3-rc1. The ranges above are read from the advisory text: neither a GitHub-reviewed advisory nor the CVE record confirms them yet.

NVD 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.

What to do

  • Upgrade LibreChat to 0.8.3-rc2 or later.
  • Do not expose the component's API or UI to the internet without authentication in front of it.

Sources