Skip to main content

Microsoft UFO CVE-2026-45322

HIGH
OS Command Injection (CWE-78)
2026-05-27 GitHub_M
7.8
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local low-privileged access
  2. Delivery
    Locate per-session action JSON file
  3. Exploit
    Inject malicious shell action parameter
  4. Execution
    Trigger UFO session resume/replay
  5. Persist
    PowerShell executes injected command
  6. Impact
    Code 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (GitHub_M) PRIMARY 7.8 HIGH
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

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Why It Matters

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.

Business Impact: High
Compensating 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

EPSS Score
0.1%
Top 80% exploitable
Social Media
2
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Affected Products (CPE)CVE.org

cpe:2.3:a:microsoft:ufo:*:*:*:*:*:*:*:*

More in Ufo

View all
CVE-2026-73296 CRITICAL
9.4 Aug 12

Missing authentication in Microsoft UFO's mobile MCP servers lets an unauthenticated remote attacker fully control an AD

CVE-2026-105793 CRITICAL
9.1 Oct 06

Authenticated command injection in Microsoft UFO's Mobile MCP server (versions prior to 3.0.9) lets a caller who holds a

CVE-2026-62316 HIGH
8.8 Aug 21

DNS rebinding against Microsoft UFO's Linux MCP server (all versions prior to 3.0.8) enables an attacker-controlled web

CVE-2026-46414 HIGH
8.8 May 27

Authenticated role spoofing in Microsoft UFO's WebSocket control plane (version 3.0.1-4-ge2626659) lets any client holdi

CVE-2026-46402 HIGH
8.1 May 27

Path traversal write in Microsoft UFO (build 3.0.1-4-ge2626659) lets an authenticated client smuggle directory-traversal

CVE-2026-105791 HIGH
7.5 Oct 06

Argument injection in Microsoft UFO's run_shell tool lets an attacker who can influence an agent workflow execute arbitr

CVE-2026-73297 MEDIUM
6.9 Aug 12

Server-side request forgery in Microsoft UFO's URL validation layer allows unauthenticated remote attackers to bypass th

CVE-2026-55440 MEDIUM
6.5 Jul 16

Session-squatting and memory exhaustion in Microsoft UFO's WebSocket server allow any authenticated client to permanentl

CVE-2026-105792 MEDIUM
6.5 Oct 06

Authenticated denial of service in Microsoft UFO prior to 3.0.9: a caller holding a valid API key can indefinitely block

CVE-2026-46416 MEDIUM
6.3 May 27

Cross-connection response leakage in Microsoft UFO's WebSocket layer allows an authenticated low-privileged user to rece

CVE-2026-46538 MEDIUM
5.9 May 27

Authenticated cross-device task-result injection in Microsoft UFO's constellation architecture allows a low-privileged p

CVE-2026-46544 MEDIUM
5.3 May 27

Authenticated cross-client stale result replay in Microsoft UFO's WebSocket task handling allows a low-privileged attack

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy