CVE-2026-105791
JSON

7.5high

Microsoft UFO: Arbitrary code execution in `run_shell` via `explorer.exe` argument injection

Severity
7.5high CVSS:3.1 by GitHub_M
Exploit likelihood
0.73% (higher than 55% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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.

Affected

Product or packageVersionsReported by
microsoft UFO< 3.0.9CVE List

Classification

CWE-88CWE-184

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-105791 changed 2026-10-09CVE Terms of Use
NVDCVE-2026-105791 changed 2026-10-09Public domain