LibreChat: Unauthorized File Content Access via Chat Attachment file_id
CVE-2026-54043Published 20 Nov 2026, 20:05 UTC
Real-world risk
2.9/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
6.3
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| LibreChatNiche | < 0.8.7 | 0.8.7 |
What to do
Update to a fixed version: 0.8.7.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.4% chance of exploitation in 30 days (percentile 40), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.420
- Threat T1: Nothing known0.850
- 10 × impact 0.8 × prerequisites 0.42 × threat 0.852.856
- Rounded to one decimal between 0.1 and 102.9
Exploitation and evidence timeline
- 20 Nov 2026 Published
- 2 Dec 2026 Risk 2.9 (cvss fallback)
Weakness
CWE-639
References
- https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-wwj3-x5mw-wq7xvendor-advisory
- https://github.com/LibreChat-AI/LibreChat/pull/13557misc
- https://github.com/LibreChat-AI/LibreChat/commit/75bbefb1c8561328eb8372e1a6ca94fc66ebcb45misc
- https://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.7misc
- https://www.librechat.ai/changelog/v0.8.7misc
- CVE-2026-54043 on CVE.org