Skip to main content

LibreChat CVE-2026-54030

| EUVDEUVD-2026-39457 CRITICAL
Origin Validation Error (CWE-346)
2026-06-25 GitHub_M
9.3
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Stand up malicious MCP server
  2. Delivery
    Lure operator to add server
  3. Exploit
    Serve crafted RFC 9728 resource metadata
  4. Execution
    LibreChat skips resource validation
  5. Persist
    Capture token meant for legitimate server
  6. Impact
    Replay token against trusted server

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Origin validation
Exploitation Conditions

Exploitation requires that LibreChat (prior to 0.8.5) be configured to use its MCP OAuth integration and that an operator/user connect the instance to an attacker-controlled MCP server - that act of trusting and adding the malicious server is the core prerequisite (reflected as UI:R in the CVSS vector). The attacker must control an MCP server that returns crafted RFC 9728 Protected Resource metadata advertising a 'resource' value for the targeted legitimate server. Limiting factors: it is not exploitable against default installs that do not use MCP OAuth or only connect to trusted servers; it is not automatable at scale (SSVC Automatable=no) because each compromise depends on a victim adding the rogue server; and there must be a legitimate OAuth-protected MCP server whose tokens are worth stealing.

Impact

Signals are mixed and should be read together. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N, score 9.3) reflects a network-reachable, low-complexity flaw with a scope change (token crosses an authorization boundary to a different server) but requiring user interaction - specifically an operator electing to connect to the malicious MCP server. SSVC marks Exploitation=poc, Automatable=no, Technical Impact=total, which is consistent: severe consequence per event, but not mass-exploitable because each compromise needs a victim to add an attacker-controlled server. Counterbalancing the 9.3, EPSS is only 0.11% (1st percentile) and the CVE is not on CISA KEV - no public exploit identified and no evidence of active exploitation. Net: this is a genuinely high-impact origin-validation bug, but real-world risk is gated by the social/configuration step of trusting a malicious server, making it a priority for environments that enable MCP integrations rather than a broad emergency. The UI:R requirement and 'no public exploit' status mean the headline 9.3 overstates likelihood relative to impact.

Exploit ScenarioDerived

An attacker stands up a malicious MCP server and lures a LibreChat administrator into adding it (e.g., advertised as a useful tool integration). When the operator initiates the OAuth flow, the rogue server returns Protected Resource metadata whose 'resource' value points at a legitimate server; LibreChat, not validating the resource against the configured URL, hands over or exposes the access token, which the attacker then replays against the trusted server. A proof-of-concept is referenced in the SSVC data, though no weaponized public exploit was identified.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – Jun 30, 2026

Access-token theft in LibreChat before 0.8.5 lets a malicious MCP (Model Context Protocol) server hijack OAuth tokens minted for a legitimate server, because the client never checks that the RFC 9728 resource parameter matches the configured MCP server URL. Any LibreChat operator who connects their instance to an attacker-controlled MCP server can have the OAuth access tokens intended for a trusted server silently exfiltrated. SSVC rates technical impact as total and a proof-of-concept is referenced, but there is no public exploit weaponization and EPSS exploitation probability is very low (0.11%); it is fixed in 0.8.5.

Earlier versions of this analysis (2)
v2 Jun 30, 2026 - 00:13 cvss changed CVSS 9.3

Access token theft in LibreChat before 0.8.5 lets a malicious MCP (Model Context Protocol) server hijack OAuth tokens intended for a legitimate server, because the OAuth client never verifies that the RFC 9728 Protected Resource Metadata 'resource' parameter matches the configured MCP server URL. An operator who connects LibreChat to an attacker-controlled or compromised MCP endpoint can have the resulting access tokens redirected and captured, exposing the targeted upstream service. SSVC rates this proof-of-concept stage with total technical impact; publicly available exploit code exists (GHSA advisory), but EPSS is low at 0.11%, and it is not on CISA KEV.

v1 Jun 25, 2026 - 17:16 CVSS 8.0

Access token theft in LibreChat (danny-avila/librechat) before 0.8.5 allows a malicious MCP server to capture OAuth access tokens intended for a legitimate server. The flaw lives in LibreChat's Model Context Protocol (MCP) OAuth client, which fails to validate that the 'resource' parameter advertised via RFC 9728 OAuth Protected Resource metadata matches the configured MCP server URL, so tokens can be redirected to an attacker-controlled audience. No public exploit identified at time of analysis, and it is not listed in CISA KEV; the issue is fixed in 0.8.5.

RemediationAI

Vendor-released patch: upgrade to LibreChat 0.8.5, which adds validation that the OAuth Protected Resource metadata 'resource' parameter matches the configured MCP server URL; see the advisory at https://github.com/danny-avila/LibreChat/security/advisories/GHSA-gvpj-vm2f-2m23. If you cannot upgrade immediately, the most effective compensating control is to disable or remove MCP server integrations that use OAuth, or restrict configured MCP servers to a vetted allowlist of trusted, operator-controlled endpoints only - the trade-off is loss of third-party MCP connectivity for users. Additionally, treat any OAuth tokens that may have been exposed to untrusted MCP servers as compromised and rotate/revoke them at the legitimate resource server. Avoid connecting LibreChat to MCP servers received from untrusted parties until patched.

Affected VersionsENISA

LibreChat < 0.8.5

Affected Packages

euvd librechat fix: 0.8.5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw lives in LibreChat's MCP OAuth client flow. MCP servers advertise their authorization requirements via OAuth 2.0 Protected Resource Metadata (RFC 9728), which includes a 'resource' indicator identifying the audience the issued token is bound to. LibreChat failed to validate that this advertised resource value matched the MCP server URL the user actually configured, an instance of CWE-346 (Origin Validation Error). Because the audience/resource binding goes unverified, a rogue MCP server can present metadata pointing the OAuth dance at a legitimate server's resource, causing LibreChat to forward (or expose) tokens scoped for the trusted server to the attacker. The affected component is cpe:2.3:a:danny-avila:librechat across all versions prior to 0.8.5.

Know when Librechat gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY HIGH
NVD 9.3 CRITICAL
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
vuln.today AI 9.3 CRITICAL

Network OAuth flow with no attacker privileges but requires an operator to add the malicious server (UI:R); token theft crosses to another server (S:C) breaching confidentiality and enabling integrity actions, no availability impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:H/SI:H/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

5
Analysis Updated
Jun 30, 2026 - 00:13 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 30, 2026 - 00:13 vuln.today
v2 - CVSS changed
Severity Changed
Jun 30, 2026 - 00:07 NVD
HIGH CRITICAL
CVSS changed
Jun 30, 2026 - 00:07 NVD
8.0 (HIGH) 9.3 (CRITICAL)
Patch available
Jun 25, 2026 - 18:03 EUVD

DescriptionNVD

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.

Executive ViewAI

Why It Matters

LibreChat before version 0.8.5 can have its OAuth credentials stolen if operators connect to a compromised external server, exposing any services that LibreChat authenticates to. Publicly available exploit code exists for this vulnerability, and organizations using LibreChat with external integrations should immediately upgrade to prevent potential compromise of critical third-party services.

Business Impact: High
Compensating Controls

Apply vendor patch: LibreChat 0.8.5

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
Medium
popular self-hosted open-source AI chat platform, common but not enterprise-ubiquitous
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2024-11170 HIGH POC
8.8 Mar 20

A vulnerability in danny-avila/librechat version git 81f2936 allows for path traversal due to improper sanitization of f

CVE-2024-10361 CRITICAL POC
9.1 Mar 20

An arbitrary file deletion vulnerability exists in danny-avila/librechat version v0.7.5-rc2, specifically within the /ap

CVE-2026-22252 CRITICAL POC
9.1 Jan 12

LibreChat before v0.8.2-rc2 allows any authenticated user to execute shell commands as root inside the container through

CVE-2025-8850 HIGH POC
8.8 Oct 30

LibreChat 0.7.9 lets an authenticated user turn off two-factor authentication on their own account without supplying a v

CVE-2025-66450 HIGH POC
8.6 Dec 11

Stored cross-site scripting and tracker injection in LibreChat 0.8.0 and earlier allow a user who can create a chat to c

CVE-2025-66201 HIGH POC
8.6 Nov 29

LibreChat is a ChatGPT clone with additional features. Rated high severity (CVSS 8.6), this vulnerability is remotely ex

CVE-2025-69222 HIGH POC
8.1 Jan 07

LibreChat 0.8.1-rc2 has SSRF in the Actions feature that allows authenticated users to make the server perform requests

CVE-2024-11171 HIGH POC
7.5 Mar 20

In danny-avila/librechat version git 0c2a583, there is an improper input validation vulnerability. Rated high severity (

CVE-2025-7104 HIGH POC
7.5 Sep 29

A mass assignment vulnerability exists in danny-avila/librechat, affecting all versions. Rated high severity (CVSS 7.5),

CVE-2025-8849 HIGH POC
7.5 Oct 31

Unbounded `key` and `value` parameters on the LibreChat 0.7.9 memory API (`POST /api/memories` and `PATCH /api/memories/

CVE-2024-11173 MEDIUM POC
6.5 Mar 20

An unhandled exception in the danny-avila/librechat repository, version git 600d217, can cause the server to crash, lead

CVE-2024-10366 MEDIUM POC
6.5 Mar 20

An improper access control vulnerability (IDOR) exists in the delete attachments functionality of danny-avila/librechat

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy