An improper access control vulnerability (IDOR) exists in the delete attachments functionality of danny-avila/librechat version v0.7.5-rc2. The endpoint does not verify whether the provided attachment ID belongs to the current user, allowing any authenticated user to delete attachments of other users.
https://huntr.com/bounties/cde47cf8-dc81-46ab-b472-f7e44a981a7e
https://github.com/danny-avila/librechat/commit/a350443661d001ac55787741969a75d94ca14116