---
id: CVE-2026-105791
title: >-
  Microsoft UFO is an open-source framework for intelligent automation across
  devices and platforms
summary: >-
  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 t…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-88
  - CWE-184
vendor: microsoft
product: UFO
affected:
  - UFO < 3.0.9
published: '2026-10-06'
updated: '2026-10-06'
sourceUpdated: '2026-10-06T15:25:00.650'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-105791'
references:
  - url: >-
      https://github.com/microsoft/UFO/commit/3e1262fc091eb319253b7a1338b63f62cc6c82b1
    label: security-advisories@github.com
  - url: 'https://github.com/microsoft/UFO/releases/tag/v3.0.9'
    label: security-advisories@github.com
  - url: 'https://github.com/microsoft/UFO/security/advisories/GHSA-cmq9-vqjf-4q2q'
    label: security-advisories@github.com
tags:
  - nvd
  - cve.org
ingestedAt: '2026-10-06T15:01:49.307Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
