{"id":"CVE-2026-105791","published":"2026-10-06T15:17:15.840","lastModified":"2026-10-09T02:16:54.857","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.","cvssScore":7.5,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","cwes":["CWE-88","CWE-184"],"vendors":[],"products":[],"references":[{"url":"https://github.com/microsoft/UFO/commit/3e1262fc091eb319253b7a1338b63f62cc6c82b1","tags":[]},{"url":"https://github.com/microsoft/UFO/releases/tag/v3.0.9","tags":[]},{"url":"https://github.com/microsoft/UFO/security/advisories/GHSA-cmq9-vqjf-4q2q","tags":[]},{"url":"https://github.com/microsoft/UFO/security/advisories/GHSA-cmq9-vqjf-4q2q","tags":[]}],"exploitRefs":[{"url":"https://github.com/microsoft/UFO/commit/3e1262fc091eb319253b7a1338b63f62cc6c82b1","tags":[]},{"url":"https://github.com/microsoft/UFO/releases/tag/v3.0.9","tags":[]},{"url":"https://github.com/microsoft/UFO/security/advisories/GHSA-cmq9-vqjf-4q2q","tags":[]},{"url":"https://github.com/microsoft/UFO/security/advisories/GHSA-cmq9-vqjf-4q2q","tags":[]}],"hasPoc":true,"ai":{"summary":"The flaw allows attackers to execute arbitrary executables or scripts as the desktop user by exploiting a validation issue in the run_shell tool of Microsoft UFO's CommandLineExecutor component. This occurs because explorer.exe delegates path arguments to ShellExecute, bypassing shell=False restrictions and enabling privilege escalation through user workflows.","exploitability":"Exploitation requires user interaction with an affected agent workflow and inducing a tool call, making it moderately difficult but achievable with social engineering or compromised workflows.","blast_radius":"If exploited, attackers can access or modify the user's files, tokens, and sessions, potentially leading to full system compromise or lateral movement within the organization.","remediation":"Upgrade to version 3.0.9 or later to fix the shell command validation issue in CommandLineExecutor.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["privilege-escalation","command-injection","windows"],"model":"garnet-coder","analyzedAt":"2026-10-15T09:05:56.609Z"}}