CVE-2026-123022 Details
Description
A vulnerability was detected in agentscope-ai AgentScope up to 2.0.11. The impacted element is the function subprocess.Popen of the file src/agentscope/mcp/_config.py of the component MCP Workspace API. The manipulation of the argument command results in os command injection. The attack may be launched remotely. The exploit is now public and may be used. The pull request to fix this issue awaits acceptance.
A command injection vulnerability has been identified in AgentScope versions through 2.0.11. The issue arises in the MCP Workspace API, specifically within the 'subprocess.Popen' function in 'src/agentscope/mcp/_config.py'. The vulnerability allows for arbitrary OS command execution by manipulating the 'command' argument, which is passed to 'subprocess.Popen' without any validation or restrictions. This flaw can be exploited remotely, leading to unauthorized process execution on the server.
Users can opt into a partial allowlist for 'stdio' MCP commands in AgentScope versions 2.0.11 and later. However, this does not address the lack of authentication on the 'X-User-ID' header. For deployments that require administrative access to configure workspace MCPs, the authentication issue should be reassessed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 5, 2026CISA-ADP
Assessed Nov 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/agentscope-ai/agentscope/ | [email protected] | ProductVendor |
| https://github.com/agentscope-ai/agentscope/issues/3312 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/agentscope-ai/agentscope/pull/3448 | [email protected] | Issue TrackingVendor |
| https://github.com/ybyu-ieu/agent-security-advisories/blob/main/agentscope/agentscope-mcp-stdio-workspace-unauthenticated-process-execution.md | [email protected] | AdvisoryExploitRemedy |
| https://vuldb.com/cve/CVE-2026-123022 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/1033130 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/431395 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/431395/cti | [email protected] | AdvisoryContent Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-77 | Improper Neutralization of Special Elements used in a Command ('Command Injection') | [email protected] |
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| agentscope-ai AgentScope | <= 2.0.4 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Modified | CISA-ADP |
| Nov 5, 2026 | New CVE Received | [email protected] |
Volerion