Missing Authorization in LibreChat - #VU166551
Published: November 18, 2026
Vulnerability details
The vulnerability allows a remote user to access unauthorized MCP servers and invoke their tools using stored owner credentials.
The vulnerability exists due to missing authorization in LibreChat's Agent Actions endpoint when action tool keys are misclassified as MCP tools and used to derive server grants. A remote user can submit metadata.domain="x_mcp_PaymentsApi" without raw_spec to POST /api/agents/actions/:agent_id for their own agent to insert the target server name into its grants and obtain unauthorized server access.