| Title | AgentDeskAI browser-tools-mcp 1.2.0 OS Command Injection |
|---|
| Description | An input-handling flaw in browser-tools-mcp allows attacker-controlled path data to be interpolated into a shell command that executes AppleScript via osascript. The server accepts untrusted data from HTTP/WebSocket channels, builds an AppleScript string containing attacker-controlled file path content, then executes:
exec(\osascript -e '${appleScript}'`)`
without shell-safe escaping. On macOS deployments where autoPaste is enabled and screenshot flow is reachable, this can lead to arbitrary OS command execution. |
|---|
| Source | ⚠️ https://github.com/AgentDeskAI/browser-tools-mcp/issues/232 |
|---|
| User | MidA (UID 96794) |
|---|
| Submission | 04/07/2026 10:47 (20 days ago) |
|---|
| Moderation | 04/26/2026 09:10 (19 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 359639 [AgentDeskAI browser-tools-mcp up to 1.2.0 browser-connector.ts os command injection] |
|---|
| Points | 20 |
|---|