CVE Catalog

CVE-2026-105791

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Summary

The run_shell tool in the CommandLineExecutor component of Microsoft UFO before 3.0.9 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, allowing an attacker-influenced agent call to launch an arbitrary executable or script as the desktop user even though the subprocess uses shell=False.

Risk Assessment

An attacker could exploit a compromised agent workflow to execute arbitrary code in the context of the logged-in user, gaining access to their files, tokens, and sessions. However, this requires user interaction and inducing the tool call.

Recommendation

Update Microsoft UFO to version 3.0.9 or later, which fixes this vulnerability. Additionally, consider restricting agent privileges and monitoring for unusual run_shell tool invocations.

Other vulnerabilities in Microsoft UFO

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS