CVE-2026-54043: LibreChat Insecure Direct Object Reference
Published 2026-11-20 · Updated 2026-12-02 · Source security-advisories@github.com
Not known to be exploited · medium severity — update LibreChat to 0.8.7 or later on your normal schedule.
What to do
- Update LibreChat to version 0.8.7 or later. Versions before 0.8.7 are affected.
- Until it is patched, restrict network access to LibreChat and review which accounts can log in to it.
- Review access logs for requests that walk through identifiers, and restrict the affected endpoint.
- Exploitation needs a victim to act, so warn users of the affected system about unexpected links and files.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| LibreChat | < 0.8.7 | 0.8.7 |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker needs an ordinary low-privileged account, and a victim has to take an action such as opening a link or file. Attack complexity is low, so a working exploit is expected to be reliable. The impact on confidentiality is rated high, and on integrity low.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | Low | No special conditions are needed; the attack is repeatable. |
| Privileges required | Low | The attacker needs an ordinary low-privileged account. |
| User interaction | Required | A victim has to take an action, such as opening a link or file. |
| Confidentiality | High | Total loss of confidentiality. |
| Integrity | Low | Partial loss of integrity. |
| Availability | None | No effect on availability. |
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N
Weakness: Insecure Direct Object Reference
By changing an identifier in a request, a user can access records that belong to someone else.
Classified as CWE-639.
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.
Advisory text as published in the NVD record.
References
- Patchhttps://github.com/LibreChat-AI/LibreChat/commit/75bbefb1c8561328eb8372e1a6ca94fc66ebcb45
- Patchhttps://github.com/LibreChat-AI/LibreChat/pull/13557
- Patchhttps://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.7
- Patchhttps://www.librechat.ai/changelog/v0.8.7
- Advisoryhttps://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-wwj3-x5mw-wq7x