CVE-2026-117573
Mở trang đầy đủCVSS 7.8 HIGH RCE
hagent through commit 761eec6 OS Command Injection via Arduino and ESP32 MCP Tools
Mô tả
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.
Điểm và phân loại
- CVSS
- 7.8 HIGH v3.1
- Nguồn điểm
- NVD
- Mức độ (theo nguồn)
- HIGH
- EPSS
- —
- CWE
- CWE-78
Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Ảnh hưởng
Sản phẩm
- masc-ucsc hagent
Vì sao bị lọc
- CVSS 7.8 < 8.0 và không thuộc CISA KEV
Loại tác động
- RCE
- CWE-78; từ khoá "command injection"
Dữ liệu riêng của nguồn
- CVE.org · Đơn vị cấp mã
- VulnCheck
Tham khảo
- https://github.com/masc-ucsc/hagent
- https://github.com/masc-ucsc/hagent/blob/761eec627a1e6fb128a2a8ce9245aa595cc2f7af/hagent/mcp/mcp_arduino.py#L776
- https://github.com/masc-ucsc/hagent/blob/761eec627a1e6fb128a2a8ce9245aa595cc2f7af/hagent/mcp/mcp_esp32.py#L682
- https://github.com/masc-ucsc/hagent/issues/98
- https://www.vulncheck.com/advisories/hagent-through-commit-761eec6-os-command-injection-via-arduino-and-esp32-mcp-tools