{"id":"CVE-2026-31951","published":"2026-03-27T19:29:25Z","modified":"2026-03-31T13:46:25Z","title":"LibreChat's MCP Server Header Injection Enables OAuth Token Theft","vendor":"danny-avila","product":"LibreChat","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0042,"percentile":0.28048,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/danny-avila/LibreChat/security/advisories/GHSA-pmw7-gqwj-f954","tags":["x_refsource_CONFIRM"]}],"priority":{"score":10.4,"factors":[{"name":"EPSS percentile","points":5.61},{"name":"CVSS severity","points":4.76}]},"vendorSlug":"danny-avila","affectedVersions":[{"vendor":"danny-avila","product":"LibreChat","versions":[">= v0.8.2-rc1, <= v0.8.3-rc1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-31T13:45:16.896153Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-16769","exploited":false,"provenance":"source"}}