# CVE-2026-105789: Microsoft UFO: Arbitrary file write in the Linux MCP `execute_command` tool

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.70%, higher than 54% of CVEs (2026-12-01)
- Published: 2026-10-06T14:07:25.605Z
- Modified: 2026-10-06T15:18:12.170Z
- Weaknesses: CWE-88, CWE-184
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- microsoft UFO: < 3.0.9

## References

- <https://github.com/microsoft/UFO/security/advisories/GHSA-85w2-wggf-rw49>
- <https://github.com/microsoft/UFO/pull/349>
- <https://github.com/microsoft/UFO/commit/4f793622794f5d47810d54bed431c61f6a781dd6>
- <https://github.com/microsoft/UFO/releases/tag/v3.0.9>

## Sources

- CVE List: [CVE-2026-105789](https://www.cve.org/CVERecord?id=CVE-2026-105789), CVE Terms of Use, modified 2026-10-06
- NVD: [CVE-2026-105789](https://nvd.nist.gov/vuln/detail/CVE-2026-105789), Public domain, modified 2026-10-06

---

Page: https://cve.day/CVE-2026-105789 · Whole record: https://cve.day/CVE-2026-105789.json · Rebuilt by cve.day 2026-11-25T22:59:42.350Z
