CVE-2026-54044
LibreChat: Shared-Agent Editor Can Exfiltrate Owner Action API Keys via OpenAPI Spec Swap
- State
- Published
- Severity
- 7.7 High
- Published
- Nov 20, 2026
- Updated
- Nov 20, 2026
- Reserved
- Jun 11, 2026
Description
LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. Prior to 0.8.7, POST /api/agents/actions/:agent_id in api/server/routes/agents/actions.js loads an existing action with owner credentials and merges editor-controlled metadata.domain and metadata.raw_spec while preserving metadata.api_key and related OAuth client secrets. A collaborator with EDIT permission can repoint an action to an attacker-controlled host, and a later tool invocation decrypts and sends the retained owner credential to that destination. This issue is fixed in version 0.8.7.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.7 High | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N | GitHub_M |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
LibreChatLibreChat-AI |
|
References
- https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-qh43-24gm-5j57
- https://github.com/LibreChat-AI/LibreChat/pull/13559
- https://github.com/LibreChat-AI/LibreChat/commit/07af6ee288b1fdb610105ffbac7c1f34103a8f46
- https://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.7
- https://www.librechat.ai/changelog/v0.8.7
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.