Missing Authorization in LibreChat - #VU133262
Published: June 3, 2026
LibreChat
Detailed vulnerability description
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.