CVE-2026-105791: Microsoft UFO command injection in run_shell via explorer.exe

CVE-2026-105791 · Severity: high · CVSS 7.5 · Published 2026-10-06

Microsoft UFO is an automation framework that allows users to run shell commands across devices. A flaw in the run_shell tool on Windows permits attackers to launch arbitrary programs by injecting arguments through explorer.exe, potentially allowing theft or modification of user files, credentials, and sessions when a user runs an affected workflow.

Technologies: Microsoft UFO. Vendors: Microsoft.

Quick answers

Is CVE-2026-105791 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-105791 being exploited in the wild.
How severe is CVE-2026-105791?
High severity, with a CVSS score of 7.5, published 6 October 2026.
Which products and versions are affected?
Microsoft UFO before 3.0.9.
Is there a fix for CVE-2026-105791?
Yes: fixed in 3.0.9. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-105791 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-105791?
Check whether you run Microsoft UFO at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • Fixed in: 3.0.9

Technical details

The CommandLineExecutor's run_shell tool validates only the first token of the bash_command parameter and explicitly allows explorer.exe. On Windows, explorer.exe delegates its path argument to ShellExecute, enabling argument injection to launch arbitrary code. The vulnerability requires an attacker to influence an agent call to the run_shell tool, but successful exploitation grants access to the compromised user's desktop context and permissions.

Affected products

  • Microsoft UFO before 3.0.9

Timeline

  • 2026-10-06: disclosed
  • 2026-09-14: patched

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.