MediumVulnerabilityLLM-specific
CVE-2026-31951: LibreChat OAuth token exfiltration through user-created MCP server headers
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-31951
- Published
- Record updated
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.3%
Summary
CVE-2026-31951 affects LibreChat versions 0.8.2-rc1 through 0.8.3-rc1. User-created MCP (Model Context Protocol) servers can set arbitrary HTTP headers that undergo credential placeholder substitution, so a malicious server using `{{LIBRECHAT_OPENID_ACCESS_TOKEN}}` in its headers can exfiltrate the OAuth tokens of users who call tools on that server. The weakness is classified as CWE-200, Exposure of Sensitive Information to an Unauthorized Actor.
Mitigation
Fixed in 0.8.3-rc2.
Topics
Related items
- MediumRecent AI agent experiments reveal a risky future of machine 'teamwork' inside corporationsSimilar attack · CNBC Technology
- MediumClaude Code's “Don't Ask Again” File Exposes Passwords and Keys in 1,122 Public Copies on GitHubSimilar attack · The Hacker News
- MediumCVE-2026-118046: JS Help Desk plugin stored DOM-based cross-site scripting via jsticket_messageSimilar attack · NVD/CVE Database
- MediumARTEX abuse expands as cybercriminals target financial sectorSimilar attack · Microsoft Security Blog
- MediumCVE-2026-102610: fast-agent serve unauthenticated remote command execution via /mcp endpointSimilar attack · NVD/CVE Database