CVE-2026-54044 - LibreChat: Shared-Agent Editor Can Exfiltrate Owner Action API Keys via OpenAPI Spec Swap
Vulnerability · Reported by NVD · · CWE-522, CWE-863
- Severity
- High Risk score 77/100
- CVSS
- 7.7 v3.1 · from NVD
- Exploit chance (EPSS)
- 0.41% Higher than 27% of CVEs
- Known exploited
- No Not in CISA KEV
Summary
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.
How this vulnerability can be exploited
An attacker can exploit this vulnerability remotely over the network, with a low-privileged account, and without any action from a user. Attack complexity is low, so no special conditions are needed. If successful, the attacker could read sensitive data. The impact can spread beyond the vulnerable component to other parts of the system.
Is it being exploited?
The EPSS model estimates a 0.41% chance this CVE will be exploited in the next 30 days, which is low and higher than 27% of all published CVEs.
Patch priority and what to do
Schedule patching in your next maintenance window, and sooner for internet-facing systems. 1) Check whether you run the affected product and version. 2) Apply the vendor update or patch listed in the advisory. 3) Until patched, restrict network access to the service (firewall, VPN, WAF rules). 4) Review logs for signs of exploitation since the publication date.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Tags
CVE-2026-54044
Sources & references
- Original article / advisory (NVD) ↗
- NIST NVD: CVE-2026-54044 ↗
- CVE.org record ↗
- FIRST.org EPSS model ↗
How this data is collected: methodology & sources.