{"id":"CVE-2026-31951","aliases":["CVE-2026-31951"],"related":[],"kind":"vulnerability","state":"published","title":"LibreChat's MCP Server Header Injection Enables OAuth Token Theft","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-03-27T19:29:25.892Z","modified":"2026-10-26T21:10:00.170Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N","score":6.8,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N","score":6.8,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","score":5.7,"rating":"MEDIUM"}],"cwes":["CWE-200"],"affected":[{"ranges":[{"version":">= v0.8.2-rc1, <= v0.8.3-rc1","status":"affected"}],"vendor":"danny-avila","product":"LibreChat","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"0.8.2","fixed":"0.8.3"},{"status":"affected","version":"0.8.3"}],"vendor":"librechat","product":"librechat","cpe":"cpe:2.3:a:librechat:librechat:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/danny-avila/LibreChat/security/advisories/GHSA-pmw7-gqwj-f954","tags":["exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-03-31T13:45:16.896Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31951","url":"https://www.cve.org/CVERecord?id=CVE-2026-31951","licence":"CVE Terms of Use","modified":"2026-03-31T13:46:25.297Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31951","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31951","licence":"Public domain","modified":"2026-10-26T21:10:00.170Z"}],"updatedAt":"2026-11-25T22:59:17.423Z","epss":{"score":0.00291,"percentile":0.23255,"date":"2026-12-01T12:00:22.000Z"}}