Skip to content
MediumVulnerability

CVE-2026-54043: LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. Prior to 0.8.7…

Identifier
CVE-2026-54043
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.

Summary

LibreChat versions before 0.8.7 have a flaw in updateFileUsage in packages/data-schemas/src/methods/file.ts, which accepts chat attachment file_id values without checking that the file belongs to the authenticated user. An authenticated attacker who obtains another user's file identifier, for example through GET /api/share/{shareId} for a shared conversation, can attach that file to a chat, so its extracted text enters the model context, and can remove the victim file's expiration metadata.

Mitigation

Fixed in 0.8.7.