Skip to content
DayZeroHub
Medium Not yet writtenCVSS 6.3CVE-2026-54043

CVE-2026-54043: LibreChat: Unauthorized File Content Access via Chat Attachment file_id

LibreChat-AI LibreChat

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-54043: medium-severity vulnerability (CVSS 6.3) in LibreChat-AI LibreChat.

What happened

Original description from the source: 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.

Why it matters

Medium severity, CVSS 6.3.

Affected products and versions

LibreChat-AI LibreChat < 0.8.7

ProductVersionsFixed in
LibreChat-AI LibreChat< 0.8.7—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-639

Relevant change history

  1. Published

    Preliminary advisory published.