| tiêu đề | hiraishikentaro wezterm-mcp 0.1.0 Injection |
|---|
| Mô tả | A critical command injection vulnerability was discovered in wezterm-mcp 0.1.0. The issue resides in the switch_pane and write_to_specific_pane tools within src/wezterm_executor.ts. The application takes a user-supplied pane_id argument and interpolates it directly into a shell command string executed via child_process.exec. Due to a lack of type enforcement and input sanitization, a remote authenticated attacker can bypass the intended numeric schema by providing shell metacharacters (e.g., ;, &, |) in the pane_id parameter. This allows for arbitrary OS command execution with the privileges of the MCP server process, leading to full system compromise. |
|---|
| Nguồn | ⚠️ https://github.com/hiraishikentaro/wezterm-mcp/issues/7 |
|---|
| Người dùng | ccccccctfi (UID 97498) |
|---|
| Đệ trình | 11/05/2026 10:36 (cách đây 29 ngày) |
|---|
| Kiểm duyệt | 31/05/2026 18:13 (20 days later) |
|---|
| Trạng thái | được chấp nhận |
|---|
| Mục VulDB | 367572 [hiraishikentaro wezterm-mcp 0.1.0 switch_pane/write_to_specific_pane src/wezterm_executor.ts request.params.arguments.pane_id nâng cao đặc quyền] |
|---|
| điểm | 20 |
|---|