All vulnerabilities

Servers and applications

GHSA-9jfc-2fjm-h7wr

Agent Actions updates can bypass MCP server authorization

Severity
Medium
Published
17 Nov 2026
Last changed
17 Nov 2026
Added to UpHeron
17 Nov 2026
Fixed in
0.8.9
Weakness
Missing authorization (CWE-862)Incorrect authorization (CWE-863)
Sources
Project advisories (GitHub)

Description

An authenticated low-privilege user can gain consumeOnly access to an MCP server they were never granted, by abusing the agent Actions write endpoint. The normal agent-update path routes tool keys through filterAuthorizedTools, which rejects an MCP server the caller cannot access. The Actions endpoint (POST /api/agents/actions/:agent_id) does not: it builds a tool key from the attacker-controlled metadata.domain, and because of a documented isActionTool false-negative when the domain contains the _mcp_ substring, the key is mis-classified as an MCP tool, its server name is extracted and written into the agent's mcpServerNames with no authorization check. From that point the attacker's own agent "vouches" for the target server, so hasAccessViaAgent grants the attacker the server's decrypted consumeOnly config and its tools execute authenticated with the owner's stored secret.

From LibreChat-AI/LibreChat's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
LibreChatServers and applications · github:librechat-ai/librechat
  • Every version before 0.8.9

About LibreChat

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

From its GitHub repository.
Docker Hub pulls
669,094Docker Hub, 15 Nov 2026
GitHub stars
47,138GitHub, 15 Nov 2026
Forks
9,706GitHub, 15 Nov 2026
License
MITGitHub
First published on GitHub
12 Feb 2023GitHub

References