Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-54026: medium-severity vulnerability (CVSS 6.5) in LibreChat-AI LibreChat.
What happened
Original description from the source: 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.
Why it matters
Medium severity, CVSS 6.5.
Affected products and versions
LibreChat-AI LibreChat < 0.8.6
| Product | Versions | Fixed in |
|---|---|---|
| LibreChat-AI LibreChat | < 0.8.6 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-7w78-4qpx-xhfg — CVE Program
- https://github.com/LibreChat-AI/LibreChat/pull/13183 — CVE Program
- https://github.com/LibreChat-AI/LibreChat/commit/5b66196f5839e304699f0b54d76bf631a406dad5 — CVE Program
- https://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.6 — CVE Program
- https://www.librechat.ai/changelog/v0.8.6 — CVE Program
Weaknesses (CWE): CWE-284, CWE-639
Relevant change history
Published
Preliminary advisory published.