
AgentScope's MCP Workspace Starts Whatever Program You Name — CVE-2026-123022
- OrcaNEWOrcaCyber: Hy4 Flash Abliterated / Uncensored2026-11-18$0.07 / $0.28 per 1M tokens · 190 tok/s
- openaiNEWOpenAI: GPT-6.2 Astra2026-11-17$8.00 / $40.00 per 1M tokens · 87 tok/s
- openaiNEWOpenAI: GPT-6.2 Sol2026-11-17$2.00 / $10.00 per 1M tokens · 151 tok/s
- tencentNEWTencent: Hy4 Flash2026-11-16$0.02 / $0.07 per 1M tokens · 180 tok/s
- AlibabaNEWQwen: Qwen4 Max2026-11-16$1.50 / $4.50 per 1M tokens · 84 tok/s
- GoogleNEWGoogle: Gemini 4 Carbon2026-11-10$2.00 / $10.00 per 1M tokens · 705 tok/s
- AnthropicNEWAnthropic: Claude Fable 5.22026-11-09$8.00 / $40.00 per 1M tokens · 258 tok/s
- OrcaOrcaCyber: GLM 5.3 Abliterated / Uncensored2026-11-04$3.00 / $5.00 per 1M tokens · 98 tok/s
- OrcaOrcaCyber: Hy4 Abliterated / Uncensored2026-11-04$0.80 / $1.60 per 1M tokens · 139 tok/s
- OrcaOrcaCyber: Kimi K3.1 Pro Abliterated / Uncensored2026-11-04$2.00 / $5.00 per 1M tokens · 86 tok/s
- tencentTencent: Hy42026-11-04$0.83 / $2.50 per 1M tokens · 123 tok/s
- OrcaOrcaCyber: MiniMax M3.1 Flash Abliterated / Uncensored2026-10-29$0.80 / $1.60 per 1M tokens · 102 tok/s
- OrcaOrcaCyber: GLM 5.3 Flash Abliterated / Uncensored2026-10-27$0.80 / $1.60 per 1M tokens · 72 tok/s
- openaiOpenAI: GPT-6.1 Terra2026-10-26$1.00 / $5.00 per 1M tokens · 35 tok/s
- OrcaOrcaCyber: Qwen3.8 Flash Next Abliterated / Uncensored2026-10-26$0.80 / $1.60 per 1M tokens · 89 tok/s
- OrcaOrcaCyber: MiMo V2.6 Flash Abliterated / Uncensored2026-10-26$0.80 / $1.60 per 1M tokens · 37 tok/s
- MoonshotMoonshotAI: Kimi K3.1 Pro2026-10-2447Intelligence
- OrcaOrcaCyber: DeepSeek V4.1 Flash Abliterated / Uncensored2026-10-23$0.80 / $1.60 per 1M tokens · 240 tok/s
- minimaxMiniMax: M3.1 Flash2026-10-1929Intelligence
- OrcaOrca: OrcaCyber Ultra 1.02026-10-17$5.00 / $10.00 per 1M tokens · 99 tok/s
On 5 November 2026 the VulDB CNA published CVE-2026-123022, an OS command-injection flaw (CWE-78) in the MCP Workspace API of AgentScope, the open-source multi-agent framework maintained by agentscope-ai — and as of 9 November 2026 no fixed release exists, because the newest version on PyPI is still 2.0.11, the last version the CVE lists as affected. A caller who can reach an exposed AgentScope agent service registers a stdio MCP whose command field names any local executable, and the server spawns that program as the user running the service; the reporter's proof of concept wrote a marker file on a Windows 11 host on 8 July 2026. No in-the-wild exploitation has been reported. This record is one entry in the AI incident archive, which holds it alongside the other agent-infrastructure and MCP vulnerabilities of the past year, each with its own sources, severity, confidence grade and disputed flag.
AgentScope is not a small side project. Its GitHub repository describes it as a framework to "build and run agents you can see, understand and trust", is licensed Apache-2.0, and carried roughly 35,600 stars when queried on 9 November 2026. The framework ships an agent service — a FastAPI application with the workspace, session, agent and credential routers — and, in the repository's own example deployment file examples/agent_service/main.py, binds it to 0.0.0.0 on port 8000. That is the surface the CVE is about: not the model, not the prompt, but the endpoint an operator exposes so that agents and their tools can be managed remotely.
What the flaw actually is
An MCP stdio server is not a URL. In the Model Context Protocol specification it is a program name plus an argument list, which the host is expected to start and then talk to over standard input and output. AgentScope lets a caller define one over HTTP: POST /workspace/mcp, implemented at src/agentscope/app/_router/_workspace.py, accepts a JSON body containing an mcp_config of type stdio_mcp. In the 2.0.11 source, StdioMCPConfig.command in src/agentscope/mcp/_config.py is declared as a plain string with no validator, no allowlist and no trusted-directory restriction, and caller-supplied args, env and cwd travel beside it.
The value is then handed to the MCP SDK. In 2.0.11, src/agentscope/mcp/_mcp_client.py passes config.command and config.args into StdioServerParameters and stdio_client, the SDK transport that spawns a child process with subprocess.Popen. The CVE description, written by VulDB, attributes that Popen call to _config.py; in the source the field is defined there and the spawn happens one layer down, in the SDK. Either way the effect is the same and the reporter states it without hedging: the string a remote caller puts in command becomes a process on the host.
Timing is what makes it a single request rather than a two-step setup. For a stateful MCP — and stdio clients are always stateful — LocalWorkspace.add_mcp calls mcp_client.connect() before the request returns. In 2.0.11 that is the is_stateful and not is_connected branch at src/agentscope/workspace/_local_workspace.py, which awaits connect() and only then saves the workspace file. The process is already running when the MCP handshake fails, which is why the reporter's evidence is an HTTP 500 alongside a file that exists.
What made the endpoint reachable without a credential is a separate design decision in the same application. get_current_user_id in src/agentscope/app/deps.py reads the X-User-ID request header, rejects only the empty string, and returns whatever the caller sent as the authenticated identity. Its own docstring calls it a "Temporary header-based identity; will be replaced by JWT auth." Every workspace route depends on it, so "unauthenticated" in the CVE description means what it sounds like: a non-empty header of the attacker's choosing is the whole of the authentication.
Established, and not established

The mechanics above are not a reading of one sentence in a database. They are in AgentScope's own source at the 2.0.11 tag, and they are described in the same terms by the person who found the flaw. GitHub issue #3312, opened on 14 October 2026 by the researcher posting as ybyu-ieu and labelled triage/confirmed by the maintainers, walks the path line by line: the unvalidated command field, the _initialize_client() hand-off, the endpoint that resolves identity from a header, and add_mcp() connecting immediately. The issue says the flaw was first reported privately through GitHub's private vulnerability reporting on 8 July 2026, and that the advisory it opened then — cited as GHSA-h4fc-fmm3-h8hg — was still in triage with no maintainer response when the researcher checked on 30 August 2026; that advisory identifier now returns 404 from GitHub's advisory API, so the claim cannot be checked from the outside.
The proof of concept is a marker file, not a breach. The researcher's write-up, linked from the CVE record as an exploit reference, says the test ran on 8 July 2026 against agentscope 2.0.4 installed from PyPI on a Windows 11 host, with the example agent service bound to 0.0.0.0:8000 in the default LocalWorkspace mode. The request registered an MCP whose command was cmd with arguments that echoed a marker string into a file; the HTTP response was a 500 or a timeout, the MCP handshake having failed, and the file containing the marker was on disk afterwards. A second commenter, posting as Koawa265Richard31 on 15 October 2026, said they had reproduced it independently against a live deployment on the main branch, registering calc with no arguments and observing the calculator process, then whoami with output redirected to a file. Two reproductions by two accounts on the same public thread is corroboration of the mechanism; it is not evidence that anyone used it against a system they did not control.
That last distinction is where the record's grading comes from, and it is worth stating plainly. Established: the code path exists in the published versions, the endpoint requires no real credential, the process is spawned before any handshake, and no fixed release is available. Not established: any in-the-wild exploitation, any count of exposed AgentScope deployments, any maintainer statement in the public thread, and any upstream advisory written by the maintainers rather than imported from the CVE. NVD's entry for CVE-2026-123022 carried the status "Deferred" on 9 November 2026, four days after publication, which means NVD has not produced its own analysis. The archive records this as confidence B for exactly that reason — documented, but from a single originating submission and the trackers that copy it.
Four scores and one rating, all for the same flaw

The scores do not agree, and the disagreement is not a rounding difference. The CVE record assigns CVSS 3.1 a base score of 7.3, High, on the vector AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L — network reachable, no privileges, no user interaction, but only low impact on confidentiality, integrity and availability. The same record assigns CVSS 4.0 a base score of 6.9, Medium. NVD's copy of the record stores 5.5, Medium, for CVSS 4.0. Red Hat's page for the CVE goes the other way and rates it Critical impact, explaining that "unauthenticated network users can execute arbitrary commands with the privileges of the running application, resulting in complete compromise of host confidentiality, integrity, and availability", while adding that AgentScope is not included in Red Hat Enterprise Linux or other supported Red Hat distributions, so default Red Hat deployments are not exposed unless someone deployed the framework themselves.
The low-impact side of the disagreement is not unreasonable if you read the CVSS 3.1 vector literally: the injection lets an attacker name a program and its arguments, but the confidentiality, integrity and availability impacts are scored Low rather than High, which is what pulls 7.3 down from the 9.8 the reporter proposed. The reporter's own advisory anticipates the other reading, noting that if maintainers decided affected deployments require prior administrative access, the privileges-required metric should move and the same vector would score 8.8. Nobody in the record has adjudicated the difference. The archive's own severity field is high, and it is a separate judgement again: the record explains that its severity grades what has already happened, so an unauthenticated-RCE-class flaw with no known exploitation is recorded high rather than critical.
The fix is a pull request that has not been merged
The remedy the CVE points to is pull request #3448 on agentscope-ai/agentscope, opened on 23 October 2026 by Deepak-Khimavath and still open, unreviewed and unmerged when checked on 9 November 2026. Its own description is careful about what it does and does not do. It adds an opt-in allowlist — create_app(..., allowed_stdio_commands=["npx", "uvx"]) — and when the list is set, a stdio MCP whose command is not on it is rejected with a 403 before the workspace starts it. Matching is exact, so a path-prefixed or differently-cased variant of an allowed name does not pass. The default is None, which leaves behaviour unchanged, and the author says so explicitly: with the default, "this endpoint is exactly as exposed as before". It does not add authentication, does not sandbox the spawned process, and uses Refs rather than Fixes on the issue for that reason.
The authentication half is a second pull request, #3329, also open and unmerged, adding an opt-in shared-key gate driven by an AGENTSCOPE_API_KEY environment variable. Between the two, the shipped state as of 9 November 2026 is a framework whose newest release, 2.0.11, contains the vulnerable field and whose two mitigations both wait on a human decision to merge and release. The pattern is not unusual for a project this size, and it is the reason the CVE description ends with the flat sentence that "the pull request to fix this issue awaits acceptance".
What an operator can do in the meantime comes from the reporter rather than from the vendor, and it is all exposure reduction rather than a patch. Bind the agent service to 127.0.0.1 instead of 0.0.0.0. Block POST /workspace/mcp at the network or reverse-proxy layer. Disable or restrict external access to the MCP Workspace API entirely. If stdio MCPs must stay available, put the service where a spawned process cannot reach anything valuable, because Docker and E2B workspace backends contain the process inside their sandbox — the reporter notes the command still executes there, it just executes contained. Red Hat's page records no mitigation meeting its own product-security criteria, which is a statement about Red Hat's packaging rather than about the fix.
Why a public exploit and an empty news cycle can both be true

VulDB's description says "the exploit is now public and may be used", and that is a statement about disclosure, not about attacks. The exploit that is public is the reporter's own write-up with a copy-paste reproduction, published alongside the issue; OpenCVE's enrichment page restates this as "exploits are actively available" and scores exploitation likelihood with FIRST's EPSS at 0.01638 — 1.6%, with a percentile of 76.5% — as of 8 November 2026. CISA's SSVC decision points in NVD's copy of the record read exploitation: none, automatable: yes, technical impact: total. There is no KEV entry. The archive records real_harm: false on that basis: a working exploit anyone can read, and no evidence anyone has used it against a system they did not own.
Independent reporting is the part that does not exist. Searches on 8 and 9 November 2026 for the CVE identifier and for the AgentScope workspace flaw returned no news coverage, no security-vendor blog and no mailing-list thread. GitHub's own search returns the issue and the pull request, and nothing else beyond other projects that keep daily advisory sweeps. Every database entry — NVD's deferred record, OpenCVE's page, GitHub's GHSA-m997-8g56-6phf, Red Hat's assessment — either copies the VulDB text or restates it; none of them adds an independent test. GitHub's advisory entry is worth naming precisely, because it looks like the vendor advisory the record says is missing: GHSA-m997-8g56-6phf was created on 5 November 2026, carries the same VulDB description, lists severity "medium" while quoting a CVSS 3.1 score of 7.3, and has an empty github_reviewed_at field, meaning GitHub has not reviewed it. It is an import of the CVE, not a maintainer statement.
That is the gap this record sits in, and it is the honest shape of most vulnerability disclosures in fast-moving agent infrastructure. The code is public and readable, the flaw is demonstrated twice on a public thread, a CVE number and four disagreeing scores exist, and the thing that would settle it — a maintainer advisory, a fixed release, an NVD analysis, a single independent news report — has not arrived. Anyone running AgentScope's agent service on a reachable interface should treat the exposure as real now rather than waiting for the paperwork, because the paperwork is what is missing, not the bug.
