CVE Catalog

CVE-2026-45322

High
Published: Translated: NVD NIST

Summary

The Microsoft UFO framework contains an OS command injection vulnerability in the shell action replay path. In versions up to v3.0.0, the ShellReceiver.run_shell() method passes a command string directly to subprocess.Popen() with shell=True, allowing for the execution of malicious code.

Risk Assessment

An attacker who can modify a session/action JSON file can inject a malicious command that will be executed with the privileges of the UFO process. This poses a significant security risk to the system.

Recommendation

It is recommended to update to the latest version of the Microsoft UFO framework and implement access controls on session/action JSON files to prevent unauthorized modifications.

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS