Case · DiggingBeagle record

LibreChat file identifiers could expose another user’s chat attachment to an agent

The maintainer reports a cross-user attachment-read path and patch.

Published by DiggingBeagle:

Scope

LibreChat before 0.8.7; a caller obtains or can reference another user's file identifier in a chat workflow.

Assessment profile

Assessment method
Setting
research demonstration
Exploitation
demonstrated
Evidence
Grade B
Remediation
patch available
AI role
AGAINST AI
Basis and provenance

The cited primary source supports the stated mechanism and scoped outcome. Impact band remains unrated because no calibrated victim exposure or severity distribution is established by the cited evidence.

Assessed Nov 22, 2026 using diggingbeagle.assessment/1.

At a glance

Mechanism and trust boundary

  1. 01

    Acquire an attachment reference

    A user obtains a file_id through a shared conversation or another accessible link despite lacking ownership of the underlying file.

    Boundary: Cross-user file identifier visible in shared chat context

  2. 02

    Load file content without owner-level check

    A file retrieval path relies on the identifier but fails to re-check that the requesting account may access the specific attachment.

    Boundary: Attachment object identity crosses authorization boundary

  3. 03

    Put private bytes into another conversation

    The unauthorized attachment may be surfaced directly or incorporated into downstream model context; there is no evidence of a population-wide real breach.

    Boundary: User-owned document confidentiality and model context

Claims & evidence

CLM-2026-NOV22-LIBRECHAT-ATTACHMENT-IDOR-SCOPEThe maintainer reports a cross-user attachment-read path and patch. Because the file enters the agent prompt, a data disclosure can persist in generated answers or subsequent model calls even if the original file link was not directly downloadable.supported

Basis: reported finding

Link to claim
CLM-2026-NOV22-LIBRECHAT-ATTACHMENT-IDOR-MECHANISMAn assistant-side file lookup accepted a file_id available from a shared conversation or another context without enforcing file ownership for the requesting account. This allowed the contents of someone else's uploaded attachment to be included in the model's working context.supported

Basis: reported finding

Link to claim

Implications

A conversation being shared does not necessarily authorize a second user to fetch every referenced file. The repair has to enforce file and conversation ownership during retrieval, not only when the original uploader first attached the data.

Controls and mitigations

  • enforce file ownership and conversation authorization at file retrieval, not solely when the upload originally occurred

Unknowns and contradictions

  • The advisory does not establish arbitrary guessing of every attachment ID or a production data-breach count.

Sources and citation

Material revision history

  1. Nov 22, 2026 · Published version · first publication · revision 275