CVE-2026-54043 - LibreChat: Unauthorized File Content Access via Chat Attachment file_id
Vulnerability · Reported by NVD · · CWE-639
- Severity
- Medium Risk score 63/100
- CVSS
- 6.3 v3.1 · from NVD
- Exploit chance (EPSS)
- 0.33% Higher than 19% of CVEs
- Known exploited
- No Not in CISA KEV
Summary
LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. Prior to 0.8.7, packages/data-schemas/src/methods/file.ts updateFileUsage accepts chat attachment files[].file_id values without restricting the lookup to the authenticated owner. An authenticated attacker who obtains another user's file identifier, including through GET /api/share/{shareId} for a shared conversation, can attach that file to a chat, causing extracted document text to enter the model context. The same operation can remove expiration metadata from the victim file. This issue is fixed in version 0.8.7.
How this vulnerability can be exploited
This is a insecure direct object reference (IDOR) flaw (CWE-639). An attacker can exploit this vulnerability remotely over the network, with a low-privileged account, and only if a user is tricked into an action (such as clicking a link or opening a file). Attack complexity is low, so no special conditions are needed. If successful, the attacker could read sensitive data.
Is it being exploited?
The EPSS model estimates a 0.33% chance this CVE will be exploited in the next 30 days, which is low and higher than 19% of all published CVEs.
Patch priority and what to do
Patch during routine updates. Lower severity, but keep it on your list. 1) Check whether you run the affected product and version. 2) Apply the vendor update or patch listed in the advisory. 3) Until patched, restrict network access to the service (firewall, VPN, WAF rules). 4) Warn users about suspicious links and files that could trigger the flaw. 5) Review logs for signs of exploitation since the publication date.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N
Tags
CVE-2026-54043
Sources & references
- Original article / advisory (NVD) ↗
- NIST NVD: CVE-2026-54043 ↗
- CVE.org record ↗
- FIRST.org EPSS model ↗
How this data is collected: methodology & sources.