CVE-2026-54029: LibreChat: IDOR in Message Deletion — Incomplete Fix for CVE-2024-41703 Leaves deleteMessages() Without User Filter
LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. Prior to 0.8.4-rc1, the DELETE /api/messages/:conversationId/:messageId endpoint allows any authenticated user to delete any other user's messages. The validateMessageReq middleware only validates that the conversationId belongs to the requesting user, but the handler calls deleteMessages({ messageId }) using only the messageId as the MongoDB filter — without adding a user constraint. An attacker provides their own valid conversationId (to pass validation) and the victim's messageId (to target deletion), resulting in permanent, irrecoverable message deletion. This vulnerability is fixed in 0.8.4-rc1.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
LibreChatto a version that resolves this vulnerability.Fixed in 0.8.4-rc1
Event History
Frequently Asked Questions
What is the severity of CVE-2026-54029?
The severity of CVE-2026-54029 is rated as medium with a CVSS score of 5.3.
What is the impact of CVE-2026-54029?
CVE-2026-54029 allows any authenticated user to delete messages from other users due to an incomplete fix for a previous vulnerability.
How do I fix CVE-2026-54029?
To fix CVE-2026-54029, you need to update LibreChat to version 0.8.4-rc1 or later, where the issue is addressed.
What software is affected by CVE-2026-54029?
CVE-2026-54029 affects LibreChat, specifically versions prior to 0.8.4-rc1.
What specific issue does CVE-2026-54029 address?
CVE-2026-54029 addresses an IDOR vulnerability in the message deletion functionality of LibreChat.