> status: mostly fine. patch anyway.practical AI security · est. 2026

Brief · Builders

AgentScope's "add MCP" endpoint still means "run my binary"

By alkizz ·

CVE-2026-123022 landed on NVD on Nov 5 for AgentScope (agentscope-ai), an Alibaba-linked multi-agent platform. The bug is the same class I've already covered on Langflow: a workspace API that takes a free-form stdio MCP command and hands it to subprocess.Popen.

What's confirmed. POST /workspace/mcp accepts a StdioMCPConfig.command with no allowlist. Identity is the spoofable X-User-ID header ("Temporary header-based identity"). For stateful stdio MCPs, connect() runs on save, so the process starts before the MCP handshake finishes — a 500 or timeout still means the command already ran. Researcher ybyu-ieu reproduced it on 2.0.4 (Windows) and filed a public issue on Oct 14. An independent repro on main / ~2.0.11dev followed. The GHSA mirror (GHSA-m997-8g56-6phf) is still unreviewed. I have not seen a public report of exploitation as of Nov 6.

There is no patched release yet. Latest PyPI is still 2.0.11 (Oct 27). PRs for an opt-in command allowlist (#3448) and opt-in API-key auth (#3329) are open, not merged, and the default remains open. Default bind is 0.0.0.0:8000 in LocalWorkspace mode.

What to do:

Same lesson as Langflow's MCP stdio holes: "add an MCP server" is not a config form if the command field is a free-form binary path.

Sources

← All briefs