Missing Authorization in LibreChat - #VU133261
Published: June 3, 2026
LibreChat
Detailed vulnerability description
The vulnerability allows a remote user to delete arbitrary messages.
The vulnerability exists due to improper access control in the DELETE /api/messages/:conversationId/:messageId endpoint when handling crafted delete requests. A remote user can supply a valid conversationId they own and a victim's messageId to delete arbitrary messages.
Successful exploitation requires knowledge of the target messageId, and deleted messages are permanently removed rather than soft-deleted.