Unauthorized File Upload in LibreChat by Danny Avila
CVE-2026-54027
6.5MEDIUM
What is CVE-2026-54027?
The vulnerability in LibreChat allows any authenticated user to upload files to any agent's tool_resources via the POST /api/files/images endpoint without proper ownership verification or EDIT permissions. Although a previous patch included a permission check for the POST /api/files route, this check was not extended to the image upload route, enabling attackers to bypass authorization controls easily. This issue has been addressed in version 0.8.4-rc1.
Affected Version(s)
LibreChat < 0.8.4-rc1
