Skip to main content

LibreChat CVE-2026-44654

MEDIUM
Incorrect Authorization (CWE-863)
2026-06-02 security-advisories@github.com
5.7
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as shared-agent editor (PR:L)
  2. Delivery
    Identify file_id values attached to shared agent
  3. Exploit
    Send DELETE /api/files API request with target file_id
  4. Execution
    File purged globally from all agent contexts
  5. Persist
    Owner's private agents retain unresolvable stale file_id references
  6. Impact
    Private agent workflows silently fail

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
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

The attacker must hold editor-level access to at least one shared agent within the target LibreChat instance - this is a low-privilege authenticated role (CVSS PR:L confirmed). The target file must have been uploaded or reused by the owner across multiple agents: at minimum one shared agent (to which the attacker has editor access) and one or more private agents (to which the attacker has no access). No special non-default configuration is required beyond the shared-agent collaboration feature being in use, which is a standard LibreChat deployment pattern. Exploitation is limited by the requirement for prior editor-role authentication; unauthenticated or viewer-role users cannot trigger the vulnerable endpoint. The victim's private agents must reference the same file_id for the cross-agent integrity impact to materialize.

Impact

The CVSS 4.0 base score of 5.7 reflects a moderate severity, with the most significant signals being VI:H (High integrity impact) and VA:H (High availability impact) against the vulnerable component, meaning data is permanently destroyed and dependent functionality is broken. Attack complexity is Low (AC:L) and no special attack requirements exist (AT:N), but Low Privileges are required (PR:L) - the attacker must hold editor access to a shared agent, which limits the attack surface to authenticated collaborators. The E:P modifier confirms exploit proof-of-concept exists, elevating the practical risk above theory. No EPSS score was provided in the source data. The vulnerability is not listed in CISA KEV, indicating no confirmed widespread active exploitation at time of analysis. The real-world risk is material for multi-user LibreChat deployments where agents are shared with external collaborators: a malicious or compromised editor can silently sabotage an owner's private agent ecosystem without any access to those private agents. The integrity loss is irreversible without file restoration from backup.

Exploit ScenarioDerived

An attacker with editor access to a shared LibreChat agent inspects the agent's associated file_id values and issues a DELETE /api/files request via the API using those identifiers. Because the deletion is processed globally rather than scoped to the shared agent, the file is purged from the backend store entirely. The owner's private agents that referenced the same file_id now silently fail when attempting to resolve the file - breaking the owner's workflows without generating any access alert or notification. A proof-of-concept exists, making this scenario straightforward for any authenticated collaborator to execute.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 02, 2026

Cross-agent file deletion in LibreChat 0.8.3 and earlier allows an authenticated shared-agent editor to permanently destroy files that the owner reuses across multiple agents by calling DELETE /api/files - removing the file globally rather than just from the shared agent context. The owner's private agents, which the editor has no access to, silently retain stale file_id references that no longer resolve, causing integrity and availability degradation across unrelated agents. Exploit proof-of-concept code exists (CVSS E:P); this is not confirmed as actively exploited in CISA KEV, but the low-privilege network-accessible attack path warrants prompt patching to 0.8.4.

RemediationAI

Upgrade LibreChat to version 0.8.4, which contains the vendor-released patch for this vulnerability per the GitHub Security Advisory GHSA-f8jg-v856-mf6q (https://github.com/danny-avila/LibreChat/security/advisories/GHSA-f8jg-v856-mf6q). For deployments unable to patch immediately, the primary compensating control is restricting the use of the shared-agent editor role to fully trusted internal users - removing external or untrusted collaborators from shared-agent editor access eliminates the attack surface entirely, though this may disrupt intended collaboration workflows. A secondary workaround is to avoid reusing the same file_id across both shared and private agents until the patch is applied; using distinct file uploads per agent context prevents cross-agent file deletion from propagating. Operators should also audit existing file references in private agents for stale file_id entries that may indicate exploitation has already occurred.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

LibreChat is an open-source ChatGPT-compatible frontend supporting multiple AI providers and a multi-agent architecture where files can be associated with agents. The flaw resides in the DELETE /api/files API endpoint, which performs a global file deletion without scoping the operation to the requesting user's authorization domain. CWE-863 (Incorrect Authorization) identifies the root cause: the application does not verify that the requesting principal (a shared-agent editor) holds the necessary ownership rights over the file resource being deleted. Because file_id references are shared across agents, a deletion executed in the context of one shared agent propagates destructively to all other agents referencing the same file - including private agents owned by the file's original owner. This is a cross-boundary authorization failure where editing rights on one agent resource incorrectly confer destructive rights over a separate, unrelated resource.

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) PRIMARY 5.7 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:P

Primary rating from Vendor (github) · only source for this CVE.

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. In versions up to and including 0.8.3, a shared-agent editor can delete file records through DELETE /api/files that the owner has reused across multiple agents. The deletion removes the file globally - not just from the shared agent - breaking the owner's other private agents that reference the same file_id. The private agent retains a stale file_id reference that no longer resolves. A shared-agent editor can destroy files that the owner uses across multiple agents. The owner's private agents - which the attacker has no access to - break silently with stale file_id references. This is a cross-agent integrity violation: editing access to one agent should not affect another. Version 0.8.4 contains a patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
NVD CVE.org EPSS Vulnrichment CIRCL 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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
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
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
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.

Affected Products (CPE)CVE.org

cpe:2.3:a:librechat:librechat:*:*:*:*:*:*:*:*
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