An 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. The maintainer reports a cross-user attachment-read path and patch. Because the…
Inspect the ClaimsCase · 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:
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.
Evidence basis: CLM-2026-NOV22-LIBRECHAT-ATTACHMENT-IDOR-MECHANISM · CLM-2026-NOV22-LIBRECHAT-ATTACHMENT-IDOR-SCOPE · LibreChat chat attachment file_id IDOR and cross-user model-context access advisory
At a glance
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.
Read the implicationsThe advisory does not establish arbitrary guessing of every attachment ID or a production data-breach count.
Limits and uncertaintyFull account
An 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.
The 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. The critical boundary is a file identifier in chat text being accepted as permission to read material belonging to another user.
The documented repair is enforce file ownership and conversation authorization at file retrieval, not solely when the upload originally occurred. The advisory does not establish arbitrary guessing of every attachment ID or a production data-breach count.
Mechanism and trust boundary
- 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
- 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
- 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
- supportsLibreChat chat attachment file_id IDOR and cross-user model-context access advisoryprimary disclosure
Primary advisory or study: reproduction, results and limitations
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
- supportsLibreChat chat attachment file_id IDOR and cross-user model-context access advisoryprimary disclosure
Primary advisory or study: technical mechanism and affected component
- supportsLibreChat chat attachment file_id IDOR and cross-user model-context access advisoryprimary disclosure
GHSA-wwj3-x5mw-wq7x: shared chat attachment file_id and missing authorization on content retrieval
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
- Nov 22, 2026 · Published version · first publication · revision 275