# CVE-2026-105791: Microsoft UFO: Arbitrary code execution in `run_shell` via `explorer.exe` argument injection

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.73%, higher than 55% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-06T14:09:23.272Z
- Modified: 2026-10-09T02:16:54.857Z
- Weaknesses: CWE-88, CWE-184
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- microsoft UFO: < 3.0.9

## References

- <https://github.com/microsoft/UFO/security/advisories/GHSA-cmq9-vqjf-4q2q> (exploit)
- <https://github.com/microsoft/UFO/commit/3e1262fc091eb319253b7a1338b63f62cc6c82b1>
- <https://github.com/microsoft/UFO/releases/tag/v3.0.9>

## Sources

- CVE List: [CVE-2026-105791](https://www.cve.org/CVERecord?id=CVE-2026-105791), CVE Terms of Use, modified 2026-10-09
- NVD: [CVE-2026-105791](https://nvd.nist.gov/vuln/detail/CVE-2026-105791), Public domain, modified 2026-10-09

---

Page: https://cve.day/CVE-2026-105791 · Whole record: https://cve.day/CVE-2026-105791.json · Rebuilt by cve.day 2026-11-25T22:59:42.357Z
