CVE-2026-54030: CWE-346: Origin Validation Error in danny-avila LibreChat
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.
AI Analysis
Technical Summary
CVE-2026-54030 describes an origin validation error (CWE-346) in danny-avila's LibreChat prior to version 0.8.5. The vulnerability arises because the MCP OAuth implementation fails to validate that the resource parameter from OAuth Protected Resource metadata (RFC 9728) corresponds to the configured MCP server URL. This allows a malicious MCP server to intercept and steal access tokens that are meant for a legitimate MCP server. The vulnerability is resolved in LibreChat version 0.8.5.
Potential Impact
Successful exploitation can lead to theft of OAuth access tokens by a malicious MCP server, resulting in complete compromise of confidentiality and integrity of the affected tokens. This could allow unauthorized access to protected resources. Availability is not impacted.
Mitigation Recommendations
Upgrade LibreChat to version 0.8.5 or later, where this vulnerability is fixed. Patch status is confirmed by the vendor stating the issue is resolved in 0.8.5. No other mitigations are specified.
CVE-2026-54030: CWE-346: Origin Validation Error in danny-avila LibreChat
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.
CVSS v3.1
Score 8.0high
Affected software
pkg:github/danny-avila/LibreChatRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-54030 describes an origin validation error (CWE-346) in danny-avila's LibreChat prior to version 0.8.5. The vulnerability arises because the MCP OAuth implementation fails to validate that the resource parameter from OAuth Protected Resource metadata (RFC 9728) corresponds to the configured MCP server URL. This allows a malicious MCP server to intercept and steal access tokens that are meant for a legitimate MCP server. The vulnerability is resolved in LibreChat version 0.8.5.
Potential Impact
Successful exploitation can lead to theft of OAuth access tokens by a malicious MCP server, resulting in complete compromise of confidentiality and integrity of the affected tokens. This could allow unauthorized access to protected resources. Availability is not impacted.
Mitigation Recommendations
Upgrade LibreChat to version 0.8.5 or later, where this vulnerability is fixed. Patch status is confirmed by the vendor stating the issue is resolved in 0.8.5. No other mitigations are specified.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-11T16:57:50.018Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a3d5b504853345fc1337289
Added to database: 06/25/2026, 16:46:08 UTC
Last enriched: 07/02/2026, 22:44:06 UTC
Last updated: 08/10/2026, 00:41:17 UTC
Views: 65
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.