Description
Microsoft UFO is an open-source framework for intelligent automation across devices and platforms. Prior to 3.0.9, the run_shell tool in the CommandLineExecutor component of ufo/client/mcp/local_servers/cli_mcp_server.py validates only the first token of the bash_command parameter and permits explorer.exe. On Windows, explorer.exe delegates its following path argument to ShellExecute, so an attacker-influenced agent call can launch an arbitrary executable or script as the desktop user even though the subprocess uses shell=False. Exploitation depends on a user running an affected agent workflow and on inducing the tool call, but successful execution can access or modify that user's files, tokens, and sessions. This issue is fixed in version 3.0.9.
Published: 2026-10-06
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Arbitrary code execution as the desktop user
Action: Immediate Patch
AI Analysis

Impact

The vulnerability resides in the run_shell tool of Microsoft UFO’s CommandLineExecutor component, where only the first token of the bash_command parameter is validated. On Windows the Explorer.exe command accepts a path argument that is forwarded to ShellExecute, enabling an attacker to induce an agent workflow that launches an arbitrary executable or script under the current desktop user’s identity, despite subprocesses using shell=False. Successful exploitation allows the attacker to access or modify the user’s files, tokens, and sessions, effectively achieving remote code execution within that user’s context.

Affected Systems

Microsoft UFO open‑source framework, versions earlier than 3.0.9. The vulnerability exists in the ufo/client/mcp/local_servers/cli_mcp_server.py file where the run_shell functionality is defined. Version 3.0.9 and newer contain the fix.

Risk and Exploitability

The CVSS score of 7.5 indicates a high severity vulnerability that could be leveraged locally by an attacker who can trigger an affected agent workflow. No EPSS score is available; the vulnerability is not listed in the CISA KEV catalog. Attackers would need to influence the agent’s input to include explorer.exe as the first token and supply a malicious path argument. If achieved, the attacker operates with the same privileges as the desktop user, potentially compromising sensitive data and local system integrity.

Generated by OpenCVE AI on October 6, 2026 at 18:44 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Microsoft UFO to version 3.0.9 or later, which removes the invalid first‑token validation.
  • If an upgrade is not immediately possible, disable or restrict the use of the run_shell tool within the agent workflow to prevent execution of Explorer.exe with user‑supplied arguments.
  • Strengthen monitoring for unexpected executions of Explorer.exe with path arguments by reviewing system logs and configuring alerts.
  • Apply file‑system permission controls to limit the executable permission set for desktop user accounts and non‑trusted scripts.

Generated by OpenCVE AI on October 6, 2026 at 18:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 09 Oct 2026 02:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 07 Oct 2026 07:15:00 +0000

Type Values Removed Values Added
First Time appeared Microsoft
Microsoft ufo
Vendors & Products Microsoft
Microsoft ufo

Tue, 06 Oct 2026 14:30:00 +0000

Type Values Removed Values Added
Description Microsoft UFO is an open-source framework for intelligent automation across devices and platforms. Prior to 3.0.9, the run_shell tool in the CommandLineExecutor component of ufo/client/mcp/local_servers/cli_mcp_server.py validates only the first token of the bash_command parameter and permits explorer.exe. On Windows, explorer.exe delegates its following path argument to ShellExecute, so an attacker-influenced agent call can launch an arbitrary executable or script as the desktop user even though the subprocess uses shell=False. Exploitation depends on a user running an affected agent workflow and on inducing the tool call, but successful execution can access or modify that user's files, tokens, and sessions. This issue is fixed in version 3.0.9.
Title Microsoft UFO: Arbitrary code execution in `run_shell` via `explorer.exe` argument injection
Weaknesses CWE-184
CWE-88
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-09T01:01:55.969Z

Reserved: 2026-10-05T20:37:19.363Z

Link: CVE-2026-105791

cve-icon Vulnrichment

Updated: 2026-10-09T01:01:49.183Z

cve-icon NVD

Status : Deferred

Published: 2026-10-06T15:17:15.840

Modified: 2026-10-09T02:16:54.857

Link: CVE-2026-105791

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-07T07:00:12Z

Weaknesses
  • CWE-184

    Incomplete List of Disallowed Inputs

  • CWE-88

    Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')