Skip to content
MediumVulnerability

CVE-2026-54026: LibreChat message injection via conversationId in request body

Identifier
CVE-2026-54026
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.

Summary

Prior to version 0.8.6, LibreChat's POST /api/messages/:conversationId route authorizes the conversation ID in the URL (req.params.conversationId, checked in api/server/middleware/validateMessageReq.js) but persists a conversationId taken from the request body (req.body.conversationId) through api/server/routes/messages.js. An authenticated attacker can therefore pair a conversation they own in the URL with a victim's conversation named in the body, storing an attacker-controlled message in the victim's conversation.

Mitigation

This issue is fixed in version 0.8.6.