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.
References
Configurations
No configuration.
History
02 Nov 2026, 20:17
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/masc-ucsc/hagent/issues/98 - |
27 Oct 2026, 14:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-10-27 14:16
Updated : 2026-11-02 20:17
NVD link : CVE-2026-117573
Mitre link : CVE-2026-117573
CVE.ORG link : CVE-2026-117573
JSON object : View
Products Affected
No product.
CWE
CWE-78
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
