Missing Authorization in LibreChat - CVE-2026-54027
Published: June 3, 2026
Vulnerability details
The vulnerability allows a remote user to modify another user's agent resources.
The vulnerability exists due to improper access control in the POST /api/files/images endpoint when handling image upload requests for agent tool_resources. A remote user can upload a file to another user's agent to modify another user's agent resources.
The issue affects uploads where the request targets an agent_id and tool_resource and the upload is processed as a non-message attachment.