Microsoft UFO
CVE-2026-45322
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local low-privileged access
-
DeliveryLocate per-session action JSON file
-
ExploitInject malicious shell action parameter
-
ExecutionTrigger UFO session resume/replay
-
PersistPowerShell executes injected command
-
ImpactCode runs as UFO process user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the attacker have local access to the host and write or modify permission on a UFO per-session/action JSON record (consistent with AV:L and PR:L), and that the tampered session is subsequently resumed or replayed by UFO so the stored shell action is re-executed. The vulnerable code path must be exercised through RunShellCommand.execute() or ExecuteCommand.execute() reaching ShellReceiver.run_shell()/execute_command(), and PowerShell must be present since execution is pinned to executable=powershell.exe (a Windows deployment). Limiting factors that reduce realistic risk: there is no remote or unauthenticated path (the attacker needs an existing local foothold with write access to session files), and exploitation does not fire until a session is actually replayed - if sessions are never resumed or their JSON files are not attacker-writable, the condition is not met. No special end-user interaction is required (UI:N) once the file is planted. |
| Impact | The CVSS vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, score 7.8) is internally consistent with the description: the local attack vector and low-privilege requirement reflect that an attacker must already have local access and write permission to a UFO session JSON file rather than a remote, unauthenticated path. Impact is high across the board because successful injection grants full command execution as the UFO process user. This is best characterized as a post-foothold escalation/abuse or persistence primitive rather than an initial-access bug, which materially lowers its real-world urgency compared to a network-reachable RCE of the same score. No EPSS score was provided, so exploitation probability cannot be quantified; it is not listed in CISA KEV and no SSVC decision data was supplied. No conflicting signals were observed - CVSS 'local' aligns with the file-write prerequisite in the description. Net: a legitimately high-impact issue, but one whose practical risk hinges on the attacker already having local write access. |
| Exploit ScenarioDerived | A low-privileged user on a Windows host where UFO operates locates a stored per-session action JSON file and edits a shell action to inject a PowerShell payload (for example, appended commands or metacharacters). When UFO later resumes or replays that session, ShellReceiver.run_shell() passes the tampered string to PowerShell and the attacker's command executes as the UFO process user. No public proof-of-concept has been identified; the local attack vector and low complexity (AV:L/AC:L) make execution straightforward once write access to the session file is obtained. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 27, 2026
Arbitrary OS command execution in Microsoft's UFO intelligent-automation framework (tagged releases up to and including v3.0.0) lets a local, low-privileged attacker who can write or modify a per-session action JSON record plant a malicious shell action that is executed via PowerShell when the session is resumed or replayed. The injected command runs with the privileges of the UFO process user, yielding full confidentiality, integrity, and availability impact (CVSS 7.8, CWE-78). There is no public exploit identified at time of analysis, and no EPSS or CISA KEV data was supplied to gauge exploitation likelihood.
RemediationAI
Upgrade to a UFO release newer than v3.0.0 once the maintainers publish a fixed build; consult the vendor advisory GHSA-wj72-7w8h-695f (https://github.com/microsoft/UFO/security/advisories/GHSA-wj72-7w8h-695f) for the exact patched version, as a released patched version is not independently confirmed from the available data. Until a verified patch is applied, the most direct compensating control is to lock down filesystem permissions on the per-session/action JSON directories so only the UFO process user (and no lower-privileged local user) can write them, which closes the injection sink but may break multi-user or shared-workspace setups. Additional controls: do not resume or replay sessions whose JSON records originate from untrusted or shared locations; run UFO under a dedicated least-privilege service account to limit the blast radius of any injected command; and if the shell action capability is not required, disable or remove the RunShellCommand/ExecuteCommand pathway, accepting the trade-off that automation flows relying on shell execution will stop working.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
UFO is Microsoft's open-source agentic automation framework that drives actions across Windows applications and platforms (CPE cpe:2.3:a:microsoft:ufo). The root cause is a classic CWE-78 OS command injection: ShellReceiver.run_shell() takes a command string sourced from action parameters and hands it directly to subprocess.Popen() with shell=True and executable=powershell.exe, with no quoting or sanitization, so any shell metacharacters in the parameter are interpreted by PowerShell. The same unsafe execution path is also reachable via ShellReceiver.execute_command(). These receivers are invoked by the action classes RunShellCommand.execute() and ExecuteCommand.execute(), which forward stored action parameters downstream. The critical design factor is that UFO persists planned and executed actions in per-session JSON files; that on-disk record becomes the injection sink because its contents are trusted and re-executed verbatim on session resume/replay.
Know when Ufo gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
DescriptionCVE.org
Microsoft UFO open-source framework for intelligent automation across devices and platforms. Microsoft UFO tagged releases up to and including v3.0.0 contain an OS command injection vulnerability in the shell action replay path. In affected releases, ShellReceiver.run_shell() passes a command string from action parameters directly to subprocess.Popen() with shell=True and executable=powershell.exe. The same shell-execution behavior is also reachable through ShellReceiver.execute_command(). The shell receiver is invoked by action classes such as RunShellCommand.execute() and ExecuteCommand.execute(), which forward stored action parameters to the shell receiver. Because UFO stores planned and executed actions in per-session JSON records, an attacker who can write or modify a session/action JSON file can plant a shell action. When the session is resumed or replayed, UFO executes the attacker's command as the UFO process user.
Executive ViewAI
Microsoft's UFO automation framework vulnerability enables local users to inject commands that execute with UFO system privileges, creating risk of unauthorized access to sensitive data and disruption of business-critical processes. The vulnerability affects UFO v3.0.0 and earlier; organizations using UFO for business automation should assume exposure. No vendor-released patch identified at time of analysis, requiring immediate containment through access controls.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict file system write permissions on UFO session configuration directories to authorized administrators; (2) Implement file integrity monitoring and real-time alerting on unauthorized changes to action JSON records; (3) Run UFO processes with minimal required OS-level privileges using least-privilege principles; (4) Enable detailed logging and auditing of UFO session activities and automated command execution; (5) Isolate UFO systems from production networks if operationally feasible pending patch availability.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Affected Products (CPE)CVE.org
Missing authentication in Microsoft UFO's mobile MCP servers lets an unauthenticated remote attacker fully control an AD
Authenticated command injection in Microsoft UFO's Mobile MCP server (versions prior to 3.0.9) lets a caller who holds a
DNS rebinding against Microsoft UFO's Linux MCP server (all versions prior to 3.0.8) enables an attacker-controlled web
Authenticated role spoofing in Microsoft UFO's WebSocket control plane (version 3.0.1-4-ge2626659) lets any client holdi
Path traversal write in Microsoft UFO (build 3.0.1-4-ge2626659) lets an authenticated client smuggle directory-traversal
Argument injection in Microsoft UFO's run_shell tool lets an attacker who can influence an agent workflow execute arbitr
Server-side request forgery in Microsoft UFO's URL validation layer allows unauthenticated remote attackers to bypass th
Session-squatting and memory exhaustion in Microsoft UFO's WebSocket server allow any authenticated client to permanentl
Authenticated denial of service in Microsoft UFO prior to 3.0.9: a caller holding a valid API key can indefinitely block
Cross-connection response leakage in Microsoft UFO's WebSocket layer allows an authenticated low-privileged user to rece
Authenticated cross-device task-result injection in Microsoft UFO's constellation architecture allows a low-privileged p
Authenticated cross-client stale result replay in Microsoft UFO's WebSocket task handling allows a low-privileged attack
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB