{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-105791 exists.","fix":"No fix has been published for CVE-2026-105791 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-105791 is a high-severity command injection vulnerability in microsoft UFO, published on 6 Oct 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-105791 and fix it if it is affected.\n\nWhat it is: CVE-2026-105791 is a high-severity command injection vulnerability in microsoft UFO, published on 6 Oct 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-105791 exists.\n\nAffected product: microsoft UFO. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-105791/ (Markdown: https://insights.sbomify.com/CVE-2026-105791/index.md)","id":"CVE-2026-105791","markdown":"https://insights.sbomify.com/CVE-2026-105791/index.md","name":"CVE-2026-105791","record":{"aliases":["GHSA-cmq9-vqjf-4q2q"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Microsoft UFO automation framework","requires_auth":"none","summary":"Attackers can execute arbitrary code via argument injection in the run_shell tool, compromising user files and sessions in Microsoft UFO.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-88","name":"Improper Neutralization of Argument Delimiters in a Command"},{"id":"CWE-184","name":"Incomplete List of Disallowed Inputs"}],"description":"Microsoft UFO is an open-source framework for intelligent automation across devices and platforms. Prior to 3.0.9, the run_shell tool in the CommandLineExecutor component of ufo/client/mcp/local_servers/cli_mcp_server.py validates only the first token of the bash_command parameter and permits explorer.exe. On Windows, explorer.exe delegates its following path argument to ShellExecute, so an attacker-influenced agent call can launch an arbitrary executable or script as the desktop user even though the subprocess uses shell=False. Exploitation depends on a user running an affected agent workflow and on inducing the tool call, but successful execution can access or modify that user's files, tokens, and sessions. This issue is fixed in version 3.0.9.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Microsoft UFO: Arbitrary code execution in `run_shell` via `explorer.exe` argument injection","id":"CVE-2026-105791","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":0,"n_references":3,"next":{"headline":"Microsoft UFO: Authenticated task-result request can deadlock UFO server session manager","id":"CVE-2026-105792"},"packages":[],"prev":{"headline":"Microsoft UFO: Authenticated Galaxy device registration can bypass WebSocket SSRF IP pinning via redirects","id":"CVE-2026-105790"},"products":["UFO"],"published":"2026-10-06","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-09","vendors":["microsoft"]},"summary":"Attackers can execute arbitrary code via argument injection in the run_shell tool, compromising user files and sessions in Microsoft UFO.","url":"https://insights.sbomify.com/CVE-2026-105791/"}