IT SBIT Services
Schneeberger
DEEN
CVE tracker

Microsoft UFO: Command injection in Mobile MCP press_key

CVE-2026-105793Critical 9.1

← All vulnerabilities

Summary

Microsoft UFO, an open-source automation framework, passes an unvalidated key_code parameter of the Mobile MCP press_key tool to 'adb shell input keyevent'. An authenticated caller can inject additional shell commands that run as the Android shell user on an authorized, connected Android device. Exploitation requires a valid UFO_MCP_API_KEY, adb on the host and a reachable authorized device; it does not grant host OS or Android root access.

Affected

  • Microsoft UFO prior to 3.0.9
  • Mobile MCP server (ufo/client/mcp/http_servers/mobile_mcp_server.py)

Fixed in

  • Fixed in version 3.0.9 (per CVE record and vendor advisory GHSA-5cjx-4375-4877)
  • The v3.0.9 release notes do not name this change; verify against the fix commit

Workaround

Unknown. No vendor workaround documented; upgrading is the fix.

Exploitation

  • CISA SSVC lists exploitation as 'poc' and automatable as 'no'
  • No public proof of concept confirmed in the sources
  • No evidence of active exploitation found

Our recommendation

  • Upgrade UFO to version 3.0.9 or later (preferably the latest release)
  • Check whether the Mobile MCP HTTP service is reachable from untrusted networks and restrict access
  • Restrict who holds UFO_MCP_API_KEY and rotate it if compromise is suspected
  • Limit adb authorizations to dedicated test devices and remove unneeded ones

Public exploits

PoC-in-GitHub, Metasploit and Exploit-DB list nothing for this CVE.

Research sources

Researched and written up in English and German by an AI (Claude by Anthropic) based on NVD, CISA, EPSS and the sources listed. The vendor information is authoritative. Researched on 31 Oct 2026, 07:25.

Original description (NVD)

Microsoft UFO is an open-source framework for intelligent automation across devices and platforms. Prior to 3.0.9, the press_key tool in ufo/client/mcp/http_servers/mobile_mcp_server.py accepts a free-form key_code parameter and passes it to `adb shell input keyevent`. The adb client joins the arguments into a remote command string that the Android shell reparses, allowing an authenticated Mobile MCP caller to execute additional commands as the Android shell user on an authorized connected device. Exploitation requires a valid UFO_MCP_API_KEY, adb on the host, and a reachable authorized device, and it does not establish host operating-system execution, Android root execution, or access beyond the Android shell-user privileges. This issue is fixed in version 3.0.9.

NVD references (4)

Sources

The tracker combines official, freely usable data sources – updated continuously:

This product uses data from the NVD API but is not endorsed or certified by the NVD. EPSS data © FIRST.org.

Affected? We can help.

We check whether your systems are affected, install updates and close the gap – continuously with the System Health Checker if you wish.