Vulnerability · Published Oct 27, 2026 · Assigned by VulnCheck

CVE-2026-117573hagent through commit 761eec6 OS Command Injection via Arduino and ESP32 MCP Tools

High 7.8

In plain English

A high-severity OS command injection in hagent from masc-ucsc. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 53% of all known vulnerabilities).

Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.7%top 46.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected products (as reported)

VendorProductVersions
masc-ucsc hagent 0 – through 761eec627a1e6fb128a2a8ce9245aa595cc2f7af

Weakness: CWE-78 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References