CVE-2026-105793 Microsoft UFO: Authenticated Android shell command injection in Mobile MCP `press_key`

Critical 9.1 Published Updated

Authenticated attackers can inject shell commands via the press_key tool in Microsoft UFO, executing code as the Android shell user on connected devices.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-105793?

CVE-2026-105793 is a critical command injection vulnerability in microsoft UFO, published on 6 Oct 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-78

Which versions are affected by CVE-2026-105793?

How do I fix CVE-2026-105793?

No fix has been published for CVE-2026-105793 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2026-105793 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-105793 exists.

Sources

Also known as GHSA-5cjx-4375-4877.

Is CVE-2026-105793 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free