CVE-2026-105793: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in microsoft UFO
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.
CVSS v3.1
Score 9.1critical
Affected software
microsoft
UFO
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Microsoft UFO is an open-source automation framework. In versions before 3.0.9, the press_key tool in ufo/client/mcp/http_servers/mobile_mcp_server.py accepts a free-form key_code parameter that is passed to `adb shell input keyevent`. The adb client concatenates arguments into a remote command string that the Android shell reparses, enabling an authenticated Mobile MCP caller with a valid UFO_MCP_API_KEY to inject additional commands executed as the Android shell user on an authorized connected device. Exploitation requires the presence of adb on the host, a reachable authorized device, and valid authentication. The vulnerability does not grant host OS execution or Android root privileges. The flaw is addressed in version 3.0.9.
Potential Impact
An attacker with valid authentication and access to an authorized Android device can execute arbitrary shell commands on that device with shell user privileges. This can lead to command execution impacting the integrity and availability of the Android device environment. There is no impact on the host operating system or escalation to root privileges on the Android device.
Mitigation Recommendations
Upgrade Microsoft UFO to version 3.0.9 or later, where this vulnerability is fixed. No additional mitigation is required as the fix addresses the improper input handling that leads to command injection.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-10-05T20:37:19.364Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6ac506e32cdf04f656b9a05d
Added to database: 10/06/2026, 14:34:11 UTC
Last enriched: 10/06/2026, 14:48:38 UTC
Last updated: 10/06/2026, 18:57:28 UTC
Views: 14
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.