mcp-cve-project

CVE-2026-81735 | startServer.ts in the mcp-http-server package of UI-TARS-desktop defaulted its listen address to ‘::’ when no host was g | Critical / 10

CVE Information

Field Value
CVE / NVD CVE-2026-81735
Date (index) 2026-08-27
Affected product (index) startServer.ts in the mcp-http-server package of UI-TARS-desktop defaulted its listen address to ‘::’ when no host was given, so startSseAndStreamableHttpMcpServer bound the Streamable HTTP and SSE MCP transports to ever
GHSA ID None — no GitHub advisory published (search)
OWASP MCP Top 10 (2025) MCP05 - Command Injection & Execution
Published / disclosed 2026-08-27
Ecosystem Application / upstream project
Component startServer.ts in the mcp-http-server package of UI-TARS-desktop defaulted its listen address to ‘::
EPSS score 0.007790000 (FIRST EPSS, 2026-09-26)
CVSS score Critical / 10
CWE CWE-306
Affected versions @agent-tars@0.3.0-beta.8, @agent-tars@0.3.0-beta.7, @agent-tars@0.3.0-beta.6, @agent-tars@0.3.0-beta.3, v0.2.4, v0.2.3, v0.2.2, archived/agent-tars-desktop, Agent-TARS-v1.0.0-alpha.10, v0.2.1, v0.1.3, v0.2.0, Agent-TARS-v1.0.0-alpha.9, v0.1.2, @agent-infra/mcp-shared@1.0.1-beta.10, @agent-infra/mcp-server-filesystem@1.0.1-beta.10, @agent-infra/mcp-server-commands@1.0.1-beta.10, @agent-infra/mcp-server-browser@1.0.1-beta.10, @agent-infra/mcp-client@1.0.1-beta.10, v0.1.1, v0.1.0, v, v0.0.9, Agent-TARS-v1.0.0-alpha.8, v0.0.8, Agent-TARS-v1.0.0-alpha.7, Agent-TARS-v1.0.0-alpha.6, Agent-TARS-v1.0.0-alpha.5, Agent-TARS-v1.0.0-alpha.4, Agent-TARS-v1.0.0-alpha.3, Agent-TARS-v1.0.0-alpha.2, Agent-TARS-v1.0.0-alpha.1, v0.0.7, v0.0.6, v0.0.5, v0.0.4, v0.0.4-beta.1, @ui-tars/utio@1.0.0, @ui-tars/shared@1.1.0, @ui-tars/action-parser@1.1.0, v0.0.3, @ui-tars/shared@1.0.1, @ui-tars/action-parser@1.0.1, v0.0.2, @ui-tars/shared@1.0.0, @ui-tars/action-parser@1.0.0
Fixed versions c2ad42e3eb9b27830db41a3e6f51ca7179d9b168
Fix status Patched
Exploit status Public advisory / public CVE record
Notes Added during 2026-09-07 gap review against NVD, GitHub Advisory Database, OSV, OpenCVE, and related MCP advisory searches.

CVE Breakdown

What is the vulnerability?

startServer.ts in the mcp-http-server package of UI-TARS-desktop defaulted its listen address to ‘::’ when no host was given, so startSseAndStreamableHttpMcpServer bound the Streamable HTTP and SSE MCP transports to every interface, and its authentication middleware was optional: middlewares are applied only when a caller supplies them. The @agent-infra/mcp-server-commands and @agent-infra/mcp-server-filesystem entry points call startSseAndStreamableHttpMcpServer with a host and port alone and pass no middleware, so neither server required a credential. The commands server exposes a run_command tool that hands its caller-supplied command string to promisify(child_process.exec), so any unauthenticated client able to reach the port could run arbitrary commands as the user running the server, and the filesystem server exposed its file read and write tools on the same terms. The listen default became 127.0.0.1 in commit c2ad42e3eb9b27830db41a3e6f51ca7179d9b168; the package version stayed at 1.2.4 across that change, so the boundary is the commit rather than a release.

Attack prerequisites / exposure

Exposure depends on deployment: reachable MCP transports, enabled MCP tools, local listeners without robust Host/Origin/authentication checks, or trusted workspace/project MCP configuration treated as safe input.

CVE is because of what bug?

The issue maps to CWE-306; review the upstream advisory for the exact vulnerable code path and patched implementation.

MCP-specific impact / why it matters

This issue affects an MCP server, SDK, gateway, client, integration, or MCP-enabled workflow where tool execution, transport exposure, secrets, files, or authorization boundaries are part of the risk surface.

Where was the bug? (source + snippet)

Add a minimal vulnerable code snippet here only after reviewing the linked upstream commit / advisory.

Fix / Remediation

Upgrade to the vendor-fixed version where available. Restrict MCP listeners to trusted networks, require authentication for HTTP/SSE/Streamable HTTP transports, validate Host and Origin headers, constrain filesystem and command-execution tools, and treat project/workspace MCP configuration as untrusted input.

Exploit / PoC

Prefer vendor advisories and defensive write-ups; do not host weaponized exploit code in this repository.

Detection / verification