CVE-2026-54030

LibreChat: Missing Resource Parameter Validation in MCP OAuth Flow

State
Published
Severity
8.0 High
Published
Jun 25, 2026
Updated
Jun 26, 2026
Reserved
Jun 11, 2026

Read the record on cve.org

Description

LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. Prior to 0.8.5, LibreChat's MCP OAuth implementation does not validate that the resource parameter from OAuth Protected Resource metadata (RFC 9728) matches the configured MCP server URL, allowing a malicious MCP server to steal access tokens intended for a legitimate server. This vulnerability is fixed in 0.8.5.

Scores

CVSSScoreVectorSource
3.18.0 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:NGitHub_M

Weaknesses

Affected Products

ProductVersions
LibreChatdanny-avila
  • < 0.8.5Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.