CVE Tools

CVE-2026-117573

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

No known exploitation. EPSS puts it in the 53rd percentile. No fix published yet.

Check it yourself

No ready-made check. Neither Nuclei nor OpenVAS has one for this CVE yet.

Request a scan

Published Updated Sources: CVE.org, NVD

What to do

No fixed build or workaround is published yet. Limit exposure and watch for a patch.

  • Masc-ucsc HagentAffected: ≤ 761eec627a1e6fb128a2a8ce9245aa595cc2f7afUpgrade to: after 761eec627a1e6fb128a2a8ce9245aa595cc2f7afStated by: CVE record

Versions as the sources state them. Full version matrix after sign-in

Steps

Written by AI from the record
  1. Check whether your team runs hagent and uses its hagent_arduino or hagent_esp32 tools to control Arduino/ESP32 builds via an AI agent (MCP client).
  2. If so, review who or what can send input to these tools — especially any AI agent that processes untrusted text, since a prompt injection could trigger the attack.
  3. There is no official fixed version yet — ask your developer or the hagent maintainer directly for a patch timeline or interim guidance.
  4. Until a fix is released, restrict hagent's MCP server to trusted users only and avoid connecting it to agents that read untrusted external content.
  5. Isolate the machine running hagent (e.g., a container or sandboxed VM) so a compromise can't spread to other systems.

What it is

From the CVE record

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.

In plain language

Written by AI from the record

hagent, a tool that lets automated assistants control Arduino and ESP32 hardware-building software, has a flaw that lets someone sneak in hidden commands and run their own code on the computer running it — no patch exists yet, so if you use it, be careful what you feed it.

Local privilege-adjacent OS command injection (CWE-78) in hagent's hagent_arduino and hagent_esp32 MCP tools allows an authenticated MCP client or prompt-injected agent to inject shell metacharacters into the args parameter, which is interpolated into arduino-cli/idf.py calls executed via subprocess.run(shell=True), achieving command execution as the MCP server user.

If you're affected

  • Full takeover of host running hagent
  • Theft of source code or secrets
  • Use of compromised machine as pivot point
  • Disruption of development/build pipeline

Exploitation

Where each signal puts this CVE on the scale from published to confirmed exploited.

EPSS53rd
CISA KEV

Not in the catalog. CISA has not confirmed exploitation.

Public exploits

No public exploit or proof of concept found in the sources we track.

EPSS

0.7% chance of exploitation activity in the next 30 days, which ranks it in the 53rd percentile of scored CVEs.

Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.

Attention now

Sustained.

Lifecycle

6 events over 6 days, from the signal feeds we watch.

  1. Record updated
  2. Publishedweakness classified, att&ck mapped, record updated, record updated

Affected products

Technical detail

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Scored 7.8 by NVD.

How it is reached

  • Attack Vector LocalRequires local access to the vulnerable system (e.g. local login, malicious file)
  • Attack Complexity LowNo special conditions — the attack can be reliably reproduced
  • Privileges Required LowRequires basic user-level privileges
  • User Interaction NoneNo user interaction needed — fully automated exploitation

Scope

  • Scope UnchangedImpact is limited to the vulnerable component itself

Impact if exploited

  • Confidentiality HighTotal information disclosure — all data in the component is compromised
  • Integrity HighTotal loss of integrity — attacker can modify any data in the component
  • Availability HighTotal denial of service — the component is completely unavailable

Weaknesses

ATT&CK techniques

Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.

Sources

Watch the software you run.

My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.

We'll flag the next CVE, public exploit or patch for Hagent, not every advisory.