NetSight
medium6.3

CVE-2026-54043

LibreChat is an enhanced ChatGPT clone that supports multiple AI providers.

Impact

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.

An attacker can exploit this over the network, with a regular user account, but a user has to do something, such as open a file or a link. If it succeeds: high risk of data being read, low risk of data or systems being changed.

Affected products

VendorProductAffected versions
Danny-avilaLibreChat
before 0.8.7
Version < 0.8.7
LibreChat-AILibreChat
Version < 0.8.7

Weakness classification

References