CVE Catalog

CVE-2026-117573

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
0.70%

53th percentile - higher than 53% of all known CVEs

Summary

hagent through commit 761eec6 contains an OS command injection vulnerability. MCP clients can execute shell commands by injecting metacharacters into the args parameter of the hagent_arduino and hagent_esp32 tools, which are interpolated into arduino-cli and idf.py commands run via subprocess.run(shell=True).

Risk Assessment

Attackers or prompt-injected agents can execute arbitrary commands as the MCP server user, potentially leading to system compromise or data exfiltration.

Recommendation

Update hagent to a patched version or disable the hagent_arduino and hagent_esp32 tools until patched. Avoid running the MCP server with elevated privileges.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS