PT-2026-52493 · Librechat · Librechat

·

CVE-2026-54029

·

Published

2026-06-02

·

Updated

2026-06-25

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Name of the Vulnerable Software and Affected Versions LibreChat versions prior to 0.8.4-rc1
Description An authenticated user can delete messages belonging to other users. The issue occurs at the 'DELETE /api/messages/:conversationId/:messageId' endpoint because the validateMessageReq middleware only verifies that the conversationId belongs to the requester. However, the subsequent handler calls the deleteMessages() function using only the messageId as a MongoDB filter, omitting a user constraint. An attacker can bypass validation by providing their own valid conversationId while specifying a victim's messageId, leading to permanent and irrecoverable message deletion.
Recommendations Update to version 0.8.4-rc1.

Exploit

Fix

Missing Authorization

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2026-13478
CVE-2026-54029
GHSA-8892-XJ8Q-59XC

Affected Products

Librechat