Skip to content
DayZeroHub
High Not yet writtenCVSS 7.7CVE-2026-54044

CVE-2026-54044: LibreChat: Shared-Agent Editor Can Exfiltrate Owner Action API Keys via OpenAPI Spec Swap

LibreChat-AI LibreChat

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-54044: high-severity vulnerability (CVSS 7.7) 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.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.

Why it matters

High severity, CVSS 7.7.

Affected products and versions

LibreChat-AI LibreChat < 0.8.7

ProductVersionsFixed in
LibreChat-AI LibreChat< 0.8.7—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-522, CWE-863

Relevant change history

  1. Published

    Preliminary advisory published.