LibreChat: a malicious remote MCP server could run script via its description, MCP OAuth followed redirects to internal URLs, and another user's file could be pulled into the model context, plus 7 more CVEs (CVE-2026-54023 to 54046; fixed 0.8.6–0.8.9)
Alongside the two LibreChat CVEs covered earlier, NVD published ten more on 20 November 2026 (GitHub advisories from 17 November). The AI-specific ones: MCPConfigDialog rendered a remote MCP server's description through dangerouslySetInnerHTML, so a malicious MCP server could run script in the LibreChat origin when a user opened its config dialog (CVE-2026-54032, fixed 0.8.6); MCP OAuth discovery, registration, token, refresh and revocation requests validated only the first URL and then followed redirects to internal addresses (CVE-2026-54031, fixed 0.8.8); and chat attachments accepted another user's file_id, putting that user's extracted document text into the attacker's model context (CVE-2026-54043, fixed 0.8.7). 0.8.5 also sent federated OAuth access, ID and refresh tokens to the browser via GET /api/user (CVE-2026-54023). Upgrade to 0.8.9 to get all fixes.
What it is
CVE-2026-54032 (GHSA-vfg3-f8h3-2683, CVSS 6.1): client/src/components/Chat/Input/MCPConfigDialog.tsx; a secondary sink in Banners/Banner.tsx rendered admin banner HTML without DOMPurify. Fixed 0.8.6.
CVE-2026-54031 (GHSA-f7xq-83jc-cgrj, CVSS 6.3): createOAuthFetch in packages/api/src/mcp/oauth/handler.ts. The MCP transport path already validated redirects and is not affected. Fixed 0.8.8.
CVE-2026-54043 (GHSA-wwj3-x5mw-wq7x, CVSS 6.3): updateFileUsage in packages/data-schemas/src/methods/file.ts did not scope file_id lookups to the owner; file ids can leak through GET /api/share/{shareId}. It can also strip the victim file's expiry. Fixed 0.8.7.
CVE-2026-54023 (GHSA-p84h-536v-gm3g, CVSS 6.5): getUserController serialised federatedTokens and tokenset in 0.8.5 only. Fixed 0.8.6.
Also fixed: cross-user message injection via body conversationId (CVE-2026-54026, 0.8.6); plaintext password logged on login validation errors (CVE-2026-54041, low, 0.8.6); no attempt limit on 2FA verify-temp (CVE-2026-54042, 0.8.7); password reset wiping email-verification tokens (CVE-2026-54045, 0.8.7); unauthenticated account enumeration via /api/user/verify (CVE-2026-54046, 0.8.7); ReDoS in principal search (CVE-2026-54038, 0.8.9).
How to check
- Check your LibreChat version (release tag or container image tag).
- List remote MCP servers configured by users or admins and remove any you don't trust.
- On 0.8.5, treat federated OAuth tokens as exposed to any script that ran in the LibreChat origin.
- Search logs from older versions for plaintext passwords from failed login validation and purge them.
How to fix
- Upgrade LibreChat to 0.8.9 or later.
- Restrict who can add remote MCP servers, and block the LibreChat server from reaching internal/metadata addresses at the network level.
- If you ran 0.8.5, revoke and reissue federated OAuth/OpenID sessions.
docker ps --format '{{.Image}}' | grep -i librechat
# source install
grep '"version"' package.json Sources
- GitHub advisory GHSA-vfg3-f8h3-2683: Remote MCP Server Description XSS via Unsanitized dangerouslySetInnerHTML ↗
- GitHub advisory GHSA-f7xq-83jc-cgrj: MCP OAuth requests can follow redirects to internal URLs after SSRF validation ↗
- GitHub advisory GHSA-wwj3-x5mw-wq7x: IDOR: Unauthorized File Content Access via Chat Attachment file_id ↗
- GitHub advisory GHSA-p84h-536v-gm3g: Federated OAuth Tokens Exposed via /api/user Endpoint ↗
- GitHub advisory GHSA-7w78-4qpx-xhfg: Cross-User Message Injection via Parameter Confusion ↗
- GitHub advisory GHSA-ch3w-5cqg-47qm: Missing Rate Limiting on 2FA Verification Endpoint ↗
- GitHub advisory GHSA-7977-cfgx-23mw: Password Reset Can Wipe Email-Verification Tokens ↗
- GitHub advisory GHSA-449m-g56j-h8hj: Unauthenticated User Enumeration via Email Verification Endpoint ↗
- GitHub advisory GHSA-63w5-cp9j-q463: Plaintext password logged on login validation error ↗
- GitHub advisory GHSA-fmfv-wxj3-m7x7: Server-Side ReDoS via Unescaped Regex in Principal Search ↗
- NVD: CVE-2026-54032 ↗
- highCVE-2026-54044: In LibreChat, a collaborator with EDIT access to a shared agent could repoint an action to their own server and receive the owner's stored API key (fixed 0.8.7)
- highCVE-2026-54039: LibreChat let an unauthenticated attacker pre-register a victim's email with a forged social provider and share the account once the victim signed in with Google or another provider (fixed 0.8.6)