CVE-2026-105789

Microsoft UFO: Arbitrary file write in the Linux MCP `execute_command` tool

Published Oct 6, 2026 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
Description
Microsoft UFO is an open-source framework for intelligent automation across devices and platforms. Prior to 3.0.9, the execute_command tool in ufo/client/mcp/http_servers/linux_mcp_server.py treats sort and uniq as read-only commands while the free-form command parameter can select their file-output forms. An authenticated caller can use sort -o or the optional second uniq operand to create or overwrite files writable by the UFO server process without shell metacharacters, because the allowed binary opens the destination itself and the argument policy does not reject the operation. This can corrupt configuration or other writable data and disrupt the service, but the demonstrated primitive does not directly disclose files or establish arbitrary code execution. This issue is fixed in version 3.0.9.

Analysis

AI-generated

Technical impact

Microsoft UFO’s execute_command tool allows an authenticated caller to invoke read‑only utilities such as sort and uniq with optional output parameters. By supplying the -o option or an optional second operand, the caller can create or overwrite files that are writable by the UFO server process. This grants the ability to corrupt configuration files or other writable data but does not expose file content disclosure or arbitrary code execution capabilities.

Affected Systems

The vulnerability exists in Microsoft UFO versions prior to 3.0.9. Systems running the Linux MCP execute_command component located in ufo/client/mcp/http_servers/linux_mcp_server.py are affected. Only installations that enable the authenticate‑required execute_command endpoint and allow the use of sort or uniq commands are impacted.

Risk and Exploitability

The CVSS score is 5.4, indicating moderate severity. EPSS data is not available and the vulnerability has not been cataloged in CISA KEV. Exploitation requires valid credentials to access the execute_command API, making it an authenticated attack vector. An attacker with these credentials can manipulate writable files, potentially disrupting service or tampering with configuration, but cannot retrieve data or execute arbitrary code directly.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Microsoft UFO to version 3.0.9 or later where the vulnerability is fixed.
  • If an immediate upgrade is not possible, disable or restrict access to the execute_command endpoint so that only trusted administrators can invoke it.
  • Apply a temporary policy to block the use of the sort -o and uniq optional operand options by modifying the command validation logic or by adjusting file permission settings to prevent unintended writes.

Generated by OpenCVE AI on October 6, 2026 at 18:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Microsoft
Microsoft ufo
Vendors & Products Microsoft
Microsoft ufo
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Microsoft UFO is an open-source framework for intelligent automation across devices and platforms. Prior to 3.0.9, the execute_command tool in ufo/client/mcp/http_servers/linux_mcp_server.py treats sort and uniq as read-only commands while the free-form command parameter can select their file-output forms. An authenticated caller can use sort -o or the optional second uniq operand to create or overwrite files writable by the UFO server process without shell metacharacters, because the allowed binary opens the destination itself and the argument policy does not reject the operation. This can corrupt configuration or other writable data and disrupt the service, but the demonstrated primitive does not directly disclose files or establish arbitrary code execution. This issue is fixed in version 3.0.9.
Title Microsoft UFO: Arbitrary file write in the Linux MCP `execute_command` tool
Weaknesses CWE-184
CWE-88
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:L'}

Weaknesses
  • CWE-184

    Incomplete List of Disallowed Inputs

  • CWE-88

    Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 6, 2026, 2:47 PM
Reserved
Oct 5, 2026, 8:37 PM
Status
Deferred
Published
Oct 6, 2026, 2:17 PM
Modified
Oct 6, 2026, 3:18 PM