CVE-2026-123022

agentscope-ai AgentScope MCP Workspace API _config.py subprocess.Popen os command injection

Published Nov 5, 2026 CVSS 4.0 · 6.9 Medium EPSS 2.2% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

A command injection flaw exists in the subprocess.Popen usage within agentscope-ai's AgentScope MCP Workspace API. By manipulating the command argument, an attacker can inject and execute arbitrary operating system commands, resulting in a full remote code execution vulnerability. The flaw is present in all releases up to version 2.0.11 and carries a CVSS score of 6.9, indicating moderate to high severity. The issue has been publicly disclosed and exploits are actively available.

Affected Systems

The affected product is agentscope-ai AgentScope, specifically the MCP Workspace API component. All instances using AgentScope versions up to and including 2.0.11 are vulnerable. No specific environments or additional vendors are listed.

Risk and Exploitability

Based on the description, the likely attack vector is remote API access to the MCP Workspace API; an attacker supplies a crafted command argument to the subprocess.Popen call. The publicly available exploit and the lack of mitigation in current versions mean that any reachable installation is at risk. The vulnerability remains unpatched until a security fix is merged and a new release is published. The EPSS score indicates a 2% likelihood that this vulnerability will be exploited.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest AgentScope release once the security fix has been merged (e.g., any version above 2.0.11).
  • In the interim, disable or restrict external access to the MCP Workspace API to prevent unauthorized command injection.
  • If disabling is not possible, implement input validation on the command parameter, restricting it to a whitelist of allowed commands or using strict parsing to eliminate injection vectors.
  • Apply runtime confinement such as SELinux, AppArmor, or container isolation to limit the execution privileges of spawned processes, and monitor logs for unexpected subprocess activity.

Generated by OpenCVE AI on November 6, 2026 at 14:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title agentscope-ai AgentScope MCP Workspace API _config.py subprocess.Popen os command injection
First Time appeared Agentscope-ai
Agentscope-ai agentscope
Weaknesses CWE-77
CWE-78
CPEs cpe:2.3:a:agentscope-ai:agentscope:*:*:*:*:*:*:*:*
Vendors & Products Agentscope-ai
Agentscope-ai agentscope
References
Metrics cvssV2_0

{'score': 7.5, 'vector': 'AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:C'}

cvssV3_0

{'score': 7.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C'}

cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-77

    Improper Neutralization of Special Elements used in a Command ('Command Injection')

  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Nov 5, 2026, 4:38 PM
Reserved
Nov 5, 2026, 6:25 AM
Status
Deferred
Published
Nov 5, 2026, 2:17 PM
Modified
Nov 5, 2026, 5:18 PM
Severity
Critical
Public date
Nov 5, 2026, 1:15 PM