LibreChat editors can steal owner action API keys via spec swap
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure, Security bypass
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-522 and CWE-863.
Summary
LibreChat before 0.8.7 lets a user with EDIT permission on a shared agent repoint an existing action to an attacker-controlled host. The action update keeps the owner's API key and OAuth client secrets, so a later tool invocation decrypts the retained owner credential and sends it to that host (CWE-522).
Written with Claude Haiku 5.5 from the sources below · 2026-11-20
Description from the CNA
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 now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| LibreChat-AI | LibreChat | before 0.8.7 | 0.8.7 | Patch available | CNA |
- LibreChat VendorLibreChat-AI Affected before 0.8.7 Fixed in 0.8.7 Patch available CNA
Remediation
Upgrade LibreChat to version 0.8.7, which fixes the issue.
Written with Claude Haiku 5.5 from the sources below · 2026-11-20
- Fix · CNA LibreChat (LibreChat-AI) Fixed in 0.8.7
Timeline
- 2026-11-20 Threatist record created from CVE-2026-54044
- 2026-11-24 CISA SSVC decision points changed
References
Other 5
- 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
More LibreChat-AI vulnerabilities
- TI-2026-96065 LibreChat: Pre-registration account takeover via attacker-controlled `provider` field and social-login email fallback CVSS 3.1HIGH 8.1
- TI-2026-96070 Password reset deletes pending email-verification tokens in LibreChat CVSS 3.1MEDIUM 6.5
- TI-2026-96067 LibreChat 2FA check lacks rate limiting, allowing code guessing CVSS 3.1MEDIUM 6.8
- TI-2026-96071 User enumeration via email verification endpoint in LibreChat CVSS 3.1MEDIUM 5.3
- TI-2026-96072 Message injection into other users' conversations in LibreChat CVSS 3.1MEDIUM 6.5
- TI-2026-96063 LibreChat MCP OAuth requests follow redirects to internal addresses CVSS 3.1MEDIUM 6.3
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences