Browse / MCP and Tool Server Flaws / Code and command execution
Code and command execution
32 records in MCP and Tool Server Flaws.
- Langflow: OS command injection (RCE) via arbitrary command in MCP stdio server configuration
- MCP Atlassian: Incomplete path traversal fix allows intra-CWD module overwrite and RCE (bypass of GHSA-xjgw-4wvw-rgm4) An incomplete traversal fix still lets attachment downloads overwrite application source modules in the working directory, so injected code runs on restart.
- Chainlit has command injection via MCP stdio transport that allows unauthenticated remote code execution
- mcp-server-kubernetes argument injection can expose Kubernetes cluster credentials
- PraisonAI: Missing Authentication for Critical Function and Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in praisonai
- PraisonAI MCP `tools/call` path-traversal => RCE via Python `.pth` injection Path-traversing rule names in MCP tool calls write a .pth file into site-packages, so attacker Python code runs on every later Python start.
- rmcp Streamable HTTP server transport has a DNS rebinding vulnerability A browser page can reach a locally running Streamable HTTP MCP server through DNS rebinding because the Host header is never checked, enabling tool calls.
- LiteLLM: Authenticated command execution via MCP stdio test endpoints
- Langflow vulnerable to injection
- PraisonAI has an incomplete fix for CVE-2026-34935 - OS Command Injection MCP server command parsing hands arbitrary executables and inline-code flags to subprocesses because the earlier fix added no allowlist or argument checks.
- Flowise: Authenticated RCE Via MCP Adapters The MCP stdio configuration accepts any command and only filters some patterns, so an allowed runner like npx can be given code-execution flags.
- OpenAI Codex CLI enables code execution through malicious MCP (Model Context Protocol) configuration files
- PraisonAI Vulnerable to Implicit Execution of Arbitrary Code via Automatic `tools.py` Loading PraisonAI executes any tools.py found in the working directory at startup without consent, so planting that file runs attacker code.
- PraisonAI: OS Command Injection in MCPHandler.parse_mcp_command() The PraisonAI CLI passes the --mcp argument to a process launcher without validation, so any supplied command runs as the user.
- FastMCP has a Command Injection vulnerability - Gemini CLI
- mcp-server-kubernetes has potential security issue in exec_in_pod tool
- FastMCP vulnerable to windows command injection in FastMCP Cursor installer via server_name
- Flowise vulnerable to RCE via Dynamic function constructor injection
- figma-developer-mcp vulnerable to command injection in get_figma_data tool
- Flowise has Remote Code Execution vulnerability The CustomMCP node passes the mcpServerConfig string to the Function constructor, so a crafted configuration value runs arbitrary JavaScript with Node.js privileges.
- Flowise has unsandboxed remote code execution via Custom MCP The Custom MCP feature launches attacker-chosen commands through a load-method endpoint that lacks proper authentication and role checks.
- MCP Inspector is Vulnerable to Potential Command Execution via XSS When Connecting to an Untrusted MCP Server
- Flowise OS command remote code execution Custom MCP server configuration lets unauthenticated network users run arbitrary OS commands through the server spawn feature.
- mcp-package-docs vulnerable to command injection in several tools
- mcp-remote exposed to OS command injection via untrusted MCP server connections A malicious MCP server returns a crafted authorization endpoint URL that mcp-remote passes into an OS command, executing commands on the client.
- MCP Server Kubernetes vulnerable to command injection in several tools
- @cyanheads/git-mcp-server vulnerable to command injection in several tools Git MCP tools pass unvalidated parameters into child_process exec shell strings, so shell metacharacters run arbitrary commands, including when a model is steered by injected log content.
- MCP Inspector proxy server lacks authentication between the Inspector client and proxy The MCP Inspector proxy accepts unauthenticated requests that launch stdio commands, letting remote callers execute code on the host.
- Composio Eval Injection Vulnerability The calculator tool passes user-supplied expressions to eval(), so a crafted math input runs arbitrary code in the server process.
- langflow has vulnerability in PythonCodeTool component The PythonCodeTool component in Langflow lets remote callers run arbitrary Python through the tool integration.
- Arbitrary Code Execution via Scanner Bypass in aws-diagram-mcp-server exec() Namespace
- Command Injection on Amazon Q Developer CLI via malicious .amazonq/mcp.json leads to arbitrary code execution