CVE-2026-54029: CWE-862: Missing Authorization in danny-avila LibreChat
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.
AI Analysis
Technical Summary
The vulnerability in danny-avila's LibreChat affects versions before 0.8.4-rc1. The DELETE endpoint for messages validates that the conversationId belongs to the requesting user but fails to ensure the messageId also belongs to that user. The deleteMessages function uses only the messageId as a filter in MongoDB without a user constraint, allowing an attacker to delete other users' messages by supplying a valid conversationId and a victim's messageId. This results in permanent deletion of messages without proper authorization checks. The issue is resolved in version 0.8.4-rc1.
Potential Impact
An authenticated attacker can delete messages of other users permanently, causing data loss and potential disruption of user communication. There is no impact on confidentiality or availability beyond message deletion. The vulnerability does not allow message reading or other unauthorized actions.
Mitigation Recommendations
Upgrade to LibreChat version 0.8.4-rc1 or later where this authorization flaw is fixed. Patch status is not explicitly confirmed beyond the version fix note, so users should verify upgrade availability from the vendor. No other mitigation is indicated.
CVE-2026-54029: CWE-862: Missing Authorization in danny-avila LibreChat
Description
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.
CVSS v3.1
Score 5.3medium
Affected software
pkg:github/danny-avila/LibreChatRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in danny-avila's LibreChat affects versions before 0.8.4-rc1. The DELETE endpoint for messages validates that the conversationId belongs to the requesting user but fails to ensure the messageId also belongs to that user. The deleteMessages function uses only the messageId as a filter in MongoDB without a user constraint, allowing an attacker to delete other users' messages by supplying a valid conversationId and a victim's messageId. This results in permanent deletion of messages without proper authorization checks. The issue is resolved in version 0.8.4-rc1.
Potential Impact
An authenticated attacker can delete messages of other users permanently, causing data loss and potential disruption of user communication. There is no impact on confidentiality or availability beyond message deletion. The vulnerability does not allow message reading or other unauthorized actions.
Mitigation Recommendations
Upgrade to LibreChat version 0.8.4-rc1 or later where this authorization flaw is fixed. Patch status is not explicitly confirmed beyond the version fix note, so users should verify upgrade availability from the vendor. No other mitigation is indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-11T16:57:50.018Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a3d5b504853345fc1337286
Added to database: 06/25/2026, 16:46:08 UTC
Last enriched: 07/02/2026, 22:35:46 UTC
Last updated: 08/08/2026, 12:41:11 UTC
Views: 57
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.