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

Configuration 1 (hide)

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

History

26 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) LibreChat es un clon de ChatGPT con características adicionales. En las versiones 0.8.2-rc1 a 0.8.3-rc1, los servidores MCP (Model Context Protocol) creados por el usuario pueden incluir encabezados HTTP arbitrarios que sufren sustitución de marcadores de posición de credenciales. Un atacante puede crear un servidor MCP malicioso con encabezados que contienen ’{{LIBRECHAT_OPENID_ACCESS_TOKEN}}’ (y otros), lo que provoca que las víctimas que llaman a herramientas en ese servidor vean sus tokens OAuth exfiltrados. La versión 0.8.3-rc2 corrige el problema.

Information

Published : 2026-03-27 20:16

Updated : 2026-10-26 21:10


NVD link : CVE-2026-31951

Mitre link : CVE-2026-31951

CVE.ORG link : CVE-2026-31951


JSON object : View

Products Affected

librechat

  • librechat
CWE
CWE-200

Exposure of Sensitive Information to an Unauthorized Actor