CVE-2026-54026
Received Received - Intake

Authentication Bypass in LibreChat via Message Routing

Vulnerability report for CVE-2026-54026, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-20

Last updated on: 2026-11-20

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-20
Last Modified
2026-11-20
Generated
2026-11-21
AI Q&A
2026-11-21
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
librechat librechat 0.8.6

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-284 The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.
CWE-639 The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

LibreChat before version 0.8.6 has an authorization flaw where POST /api/messages/:conversationId validates req.params.conversationId but uses attacker-controlled req.body.conversationId. An authenticated attacker can send a message to a victim's conversation by specifying the victim's conversation ID in the request body while using an owned conversation ID in the URL.

Detection Guidance

To detect this vulnerability, inspect HTTP POST requests to /api/messages/:conversationId endpoints. Check if req.params.conversationId differs from req.body.conversationId in authenticated sessions. Monitor for unauthorized message storage in conversations not owned by the sender.

Impact Analysis

An attacker could inject messages into your conversations, leading to misinformation, data leakage, or unauthorized actions. This could compromise the integrity of your chat history and interactions.

Compliance Impact

This vulnerability could potentially violate compliance with GDPR and HIPAA due to unauthorized data access or modification. An attacker could store messages in a victim's conversation, leading to unauthorized data exposure or integrity issues. GDPR requires protecting personal data, while HIPAA mandates safeguarding protected health information. The flaw enables data tampering, which may result in non-compliance with these regulations.

Mitigation Strategies

Upgrade LibreChat to version 0.8.6 or later to address the vulnerability. Review message storage logs for unauthorized conversation modifications and restrict user permissions to prevent unauthorized access.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-54026. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...