CVE-2026-54043
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| librechat-ai | librechat | < 0.8.7 | |
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
CWEs
CWE-639
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.