LibreChat
CVE-2026-44654
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as shared-agent editor (PR:L)
-
DeliveryIdentify file_id values attached to shared agent
-
ExploitSend DELETE /api/files API request with target file_id
-
ExecutionFile purged globally from all agent contexts
-
PersistOwner's private agents retain unresolvable stale file_id references
-
ImpactPrivate 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Affected Products (CPE)CVE.org
A vulnerability in danny-avila/librechat version git 81f2936 allows for path traversal due to improper sanitization of f
An arbitrary file deletion vulnerability exists in danny-avila/librechat version v0.7.5-rc2, specifically within the /ap
LibreChat before v0.8.2-rc2 allows any authenticated user to execute shell commands as root inside the container through
LibreChat 0.7.9 lets an authenticated user turn off two-factor authentication on their own account without supplying a v
Stored cross-site scripting and tracker injection in LibreChat 0.8.0 and earlier allow a user who can create a chat to c
LibreChat is a ChatGPT clone with additional features. Rated high severity (CVSS 8.6), this vulnerability is remotely ex
LibreChat 0.8.1-rc2 has SSRF in the Actions feature that allows authenticated users to make the server perform requests
In danny-avila/librechat version git 0c2a583, there is an improper input validation vulnerability. Rated high severity (
A mass assignment vulnerability exists in danny-avila/librechat, affecting all versions. Rated high severity (CVSS 7.5),
Unbounded `key` and `value` parameters on the LibreChat 0.7.9 memory API (`POST /api/memories` and `PATCH /api/memories/
An unhandled exception in the danny-avila/librechat repository, version git 600d217, can cause the server to crash, lead
An improper access control vulnerability (IDOR) exists in the delete attachments functionality of danny-avila/librechat
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB