CVE-2026-54043
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network with a low-privilege account, but needs a user to act. High risk of data exposure.
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- ReservedThe CVE id was reserved by its CNA
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: not scored yet.
- Severity: 6.3 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Weakness
- CWE-639 · Insecure direct object reference
- Record status
- Received
Affected
- LibreChat-AI LibreChat < 0.8.7
Attack profile CVSS 3.1 · 6.3
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- Low
- Availability
- None
Raw vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2026-54043.md and follow it. Check whether this project is affected by CVE-2026-54043. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/LibreChat-AI/LibreChat/commit/75bbefb1c8561328eb8372e1a6ca94fc66ebcb45
- https://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.7
- https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-wwj3-x5mw-wq7x
References
- https://github.com/LibreChat-AI/LibreChat/commit/75bbefb1c8561328eb8372e1a6ca94fc66ebcb45
- https://github.com/LibreChat-AI/LibreChat/pull/13557
- https://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.7
- https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-wwj3-x5mw-wq7x
- https://www.librechat.ai/changelog/v0.8.7