hagent through commit 761eec6 содержит уязвимость OS command injection, которая позволяет клиентам MCP выполнять команды оболочки, вводя метасимволы в параметр args инструментов hagent_arduino и hagent_esp32. Злоумышленники или агенты с проворной инъекцией могут поставлять обработанные арги, интерполированные в команды arduino-cli и idf.py, выполняемые с помощью Subprocess.run(shellTrue) для выполнения команд в качестве пользователя сервера MCP.
Показать оригинальное описание (EN)
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.
Характеристики атаки
Последствия
Строка CVSS v4.0