Skip to main content

LibreChat EUVDEUVD-2026-39462

| CVE-2026-54027 MEDIUM
Missing Authorization (CWE-862)
2026-06-25 GitHub_M
6.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as low-privilege LibreChat user
  2. Delivery
    Enumerate or identify target agent ID
  3. Exploit
    Send crafted POST to /api/files/images with victim agent's tool_resources reference
  4. Execution
    Bypass missing authorization check on image endpoint
  5. Persist
    Inject attacker-controlled file into victim agent's context or execute_code
  6. Impact
    Manipulate agent behavior or downstream AI inputs

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a valid authenticated session on the LibreChat instance (PR:L per CVSS vector - unauthenticated exploitation is not possible). The attacker must know or enumerate the target agent's ID, which may be discoverable through normal application use or API enumeration. The vulnerability is specific to the POST /api/files/images endpoint and only bypasses authorization on agent tool_resources writes; it does not affect confidentiality. Exploitation is limited to multi-user deployments where distinct users own separate agents - in single-user instances the impact is self-directed. No non-default configuration is required; the vulnerable endpoint is available in any standard LibreChat deployment prior to 0.8.4-rc1.

Impact

The provided CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N, score 6.5) accurately characterizes the attack: network-accessible with low complexity, requiring only an authenticated low-privilege account, no user interaction, impacting only integrity. No EPSS data was provided in the input; the CVE is not listed in CISA KEV and no public POC has been confirmed. Real-world risk is elevated in multi-tenant or shared LibreChat deployments where multiple users operate distinct agents - an authenticated attacker can corrupt or manipulate another user's agent context or code execution environment, potentially enabling downstream prompt injection or supply-chain-style manipulation of AI agent behavior. In single-user or tightly access-controlled deployments, practical risk is low. The absence of confidentiality impact limits blast radius but integrity manipulation of AI tool_resources can have non-obvious downstream consequences.

Exploit ScenarioDerived

An authenticated LibreChat user with a standard account enumerates or guesses the agent ID of another user's agent, then issues a POST request to /api/files/images referencing that agent's tool_resources identifier. Because no authorization check validates ownership or EDIT rights on the image endpoint, the upload succeeds, injecting attacker-controlled content into the victim agent's context or execute_code environment. No public POC has been confirmed, but the attack requires only a valid session token and knowledge of a target agent ID.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 25, 2026

LibreChat's POST /api/files/images endpoint lacks the authorization check that was correctly applied to the POST /api/files route in a prior patch, allowing any authenticated user to upload files into arbitrary agents' tool_resources (including context and execute_code environments) without ownership or EDIT permission verification. All LibreChat deployments prior to 0.8.4-rc1 are affected across any multi-user configuration. No active exploitation has been confirmed (not in CISA KEV), but the bypass is trivially exercisable by any valid session holder who knows a target agent ID.

RemediationAI

Upgrade to LibreChat 0.8.4-rc1 or later, which introduces the missing authorization check on the POST /api/files/images endpoint, bringing it to parity with the POST /api/files route. The vendor advisory is available at https://github.com/danny-avila/LibreChat/security/advisories/GHSA-c55r-p24w-hcj5. If immediate upgrade is not feasible, operators can block or restrict access to the /api/files/images endpoint at the reverse proxy or API gateway layer, preventing unauthorized use of the vulnerable route; note this will disable image upload functionality for all users, including legitimate ones. Alternatively, restricting LibreChat access to a single trusted user or eliminating multi-user exposure reduces the attack surface, since exploitation requires one authenticated user targeting another user's agent.

Affected VersionsENISA

LibreChat < 0.8.4-rc1

Affected Packages

euvd librechat fix: 0.8.4-rc1

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

LibreChat (cpe:2.3:a:danny-avila:librechat:*:*:*:*:*:*:*:*) is a self-hosted multi-provider AI chat interface that exposes REST API endpoints for file management. Agents within LibreChat support tool_resources such as 'context' (RAG-style file context injection) and 'execute_code' (sandboxed code execution environments). The application exposes two upload routes: POST /api/files and POST /api/files/images. A prior security patch added ownership/permission enforcement to the former but not the latter, creating an exploitable inconsistency. The root cause is CWE-862 (Missing Authorization) - a classic incomplete fix pattern where a security control is applied to one code path but not all equivalent paths serving the same sensitive operation.

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 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
vuln.today AI 6.5 MEDIUM

Network-accessible endpoint requires only an authenticated session (PR:L); no confidentiality or availability impact, integrity impact limited to agent tool_resources writes.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

1
Patch available
Jun 25, 2026 - 18:03 EUVD

DescriptionCVE.org

LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. Prior to 0.8.4-rc1, the POST /api/files/images endpoint allows any authenticated user to upload files into any agent's tool_resources (e.g., context, execute_code) without verifying ownership or EDIT permission on the target agent. A permission check was added to the POST /api/files route in a previous patch, but the image upload route was never updated with the same check. An attacker can simply use the image endpoint instead of the file endpoint to bypass the authorization entirely. This vulnerability is fixed in 0.8.4-rc1.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Low
self-hosted open-source AI chat interface, niche deployment footprint
Data Quality
6 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
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· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

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