Description
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.
Severity (CVSS)
| Base score | 9.1 |
|---|---|
| Severity | Critical |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:L |
| Provided by | CNA |
Weaknesses
- CWE-78 — CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| microsoft | UFO | < 3.0.9 |
References
- https://github.com/microsoft/UFO/security/advisories/GHSA-5cjx-4375-4877 (x_refsource_CONFIRM)
- https://github.com/microsoft/UFO/commit/a538791043327a0c33731d5be428867a5fd71794 (x_refsource_MISC)
- https://github.com/microsoft/UFO/releases/tag/v3.0.9 (x_refsource_MISC)
Generated from the official CVE List on 07 Oct 2026 10:16 UTC.