CVE-2026-117573 PUBLISHED

hagent through commit 761eec6 OS Command Injection via Arduino and ESP32 MCP Tools

Assigner: VulnCheck
Reserved: 27.10.2026 Published: 27.10.2026 Updated: 27.10.2026

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.

Metrics

CVSS 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
CVSS Score: 8.5

Product Status

Vendor masc-ucsc
Product hagent
Versions Default: unaffected
  • affected from 0 to 761eec627a1e6fb128a2a8ce9245aa595cc2f7af (incl.)

References

Problem Types

  • Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') CWE