CVE-2026-54026
Description
LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. Prior to 0.8.6, POST /api/messages/:conversationId authorizes req.params.conversationId in api/server/middleware/validateMessageReq.js but persists attacker-controlled req.body.conversationId through api/server/routes/messages.js. An authenticated attacker can use an owned conversation in the URL while naming a victim conversation in the body, causing an attacker-controlled message to be stored in the victim conversation. This issue is fixed in version 0.8.6.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| librechat-ai | librechat | < 0.8.6 | |
References
- https://github.com/LibreChat-AI/LibreChat/commit/5b66196f5839e304699f0b54d76bf631a406dad5
- https://github.com/LibreChat-AI/LibreChat/pull/13183
- https://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.6
- https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-7w78-4qpx-xhfg
- https://www.librechat.ai/changelog/v0.8.6
CWEs
CWE-284 CWE-639
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.