hagent through commit 761eec6 contains an OS command injection vulnerability that allows MCP clients to execute shell commands by injecting metacharacters into the args parameter of the hagent_arduino and hagent_esp32 tools. Attackers or prompt-injected agents can supply crafted args interpolated into arduino-cli and idf.py commands run with subprocess.run(shell=True) to execute commands as the MCP server user.
History

Mon, 02 Nov 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 28 Oct 2026 22:30:00 +0000

Type Values Removed Values Added
First Time appeared Masc-ucsc
Masc-ucsc hagent
Vendors & Products Masc-ucsc
Masc-ucsc hagent

Tue, 27 Oct 2026 13:45:00 +0000

Type Values Removed Values Added
Description hagent through commit 761eec6 contains an OS command injection vulnerability that allows MCP clients to execute shell commands by injecting metacharacters into the args parameter of the hagent_arduino and hagent_esp32 tools. Attackers or prompt-injected agents can supply crafted args interpolated into arduino-cli and idf.py commands run with subprocess.run(shell=True) to execute commands as the MCP server user.
Title hagent through commit 761eec6 OS Command Injection via Arduino and ESP32 MCP Tools
Weaknesses CWE-78
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 8.5, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published: 2026-10-27T13:08:03.276Z

Updated: 2026-11-02T19:17:53.870Z

Reserved: 2026-10-27T11:33:16.313Z

Link: CVE-2026-117573

cve-icon Vulnrichment

Updated: 2026-11-02T19:17:43.895Z

cve-icon NVD

Status : Deferred

Published: 2026-10-27T14:16:39.800

Modified: 2026-11-02T20:17:36.053

Link: CVE-2026-117573

cve-icon Redhat

No data.