CVE-2026-31951
mediumpriority · track · 23EPSS 0.003 · 17 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
also known as (2)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (5)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2026-31951cnnvd
- https://github.com/danny-avila/LibreChat/security/advisories/GHSA-pmw7-gqwj-f954cnnvd
- https://github.com/danny-avila/LibreChat/tagsPatchcnnvd
- https://github.com/danny-avila/LibreChat/security/advisories/GHSA-pmw7-gqwj-f954enisa_euvd
- https://github.com/danny-avila/LibreChat/security/advisories/GHSA-pmw7-gqwj-f954ExploitVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan