Skip to content
bytedance/UI-TARS-desktop·Indexed by this site · Originally published· Event →SelectedAttention43

ByteDance Agent TARS fixes unauthenticated remote command execution vulnerability in agent-server

AI summary

ByteDance Agent TARS (UI-TARS-desktop) has an unauthenticated remote command execution issue in its agent-server: during session creation, unfiltered agentOptions are expanded into the Agent constructor, allowing callers to override mcpServers (starting local processes via StdioClientTransport), aioSandbox (downgrading sandbox deployment to host execution or redirecting to an attacker's MCP server), and model endpoints; the server binds to all network interfaces without authentication, thus constituting unauthenticated remote command execution. The same injection can also be triggered via runtimeSettings (when no server-side transform is configured) and via sessionInfo.metadata.agentOptions in agent-server-next. This is a breaking change; deployments relying on network access need to set server.host to 0.0.0.0 or a specific address.

Why it was selected

It discloses the remote command execution chain caused by unauthenticated access to the Agent server, and provides fixes such as binding to localhost by default and parameter whitelisting, useful for those building their own Agent services.

Read originalgithub.com