Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
masc-ucsc hagent
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

截至提交 761eec6,hagent 存在操作系统命令注入漏洞。该漏洞允许 MCP 客户端通过向 和 工具的 参数注入元字符,从而执行 shell 命令。攻击者或受提示注入(prompt injection)影响的代理可构造恶意参数,将其插值到使用 执行的 和 命令中,进而以 MCP 服务器用户的身份执行任意命令。

CVSS 7.8 · High
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-117573

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
hagent through commit 761eec6 OS Command Injection via Arduino and ESP32 MCP Tools
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
masc-ucsc hagent 0 ~ 761eec627a1e6fb128a2a8ce9245aa595cc2f7af -

II. Public POCs for CVE-2026-117573

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-117573

请登录查看更多情报信息。

Other References for CVE-2026-117573 (5)

IV. Related Vulnerabilities