Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with lowest-role account
-
DeliveryPOST /api/mcp/fetch-tools with stdio transport
-
ExploitSupply attacker command and args
-
ExecutionBackend spawns process before MCP validation
-
PersistArbitrary command executes on shared host
-
ImpactPivot via docker.sock to host root
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated account at the lowest role (PR:L) and that the deployment be a shared/multi-tenant or hosted Heym backend - this is what turns a documented 'trusted author' capability into a defect. The exact trigger is the POST /api/mcp/fetch-tools endpoint accepting transport 'stdio' (the default), which resolves and spawns the caller-supplied 'command' with caller-supplied 'args' and an env merged over os.environ, with no role gate (only Depends(get_current_user)), no allowlist, and spawning before MCP handshake validation. Limiting factors: exploitation needs valid authentication; on a single-user self-hosted instance the capability is by-design ('trusted workflow author') and not a cross-tenant privilege escalation; and impact is amplified specifically where the shipped root + docker.sock configuration is present, enabling host-root pivot. Post-patch, HEYM_MCP_STDIO_SANDBOX isolation (hardened sibling container, no Docker socket, no backend secrets) applies unless an operator deliberately sets the subprocess escape hatch. |
| Impact | This is a genuine high-priority issue, not a high-CVSS/low-real-risk case, but its severity is strongly conditioned on deployment mode. The provided CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N) describes network-reachable, low-complexity exploitation by an authenticated user, and PR:L confirms authentication is required - but the GHSA advisory specifies that the lowest role suffices, so in a multi-tenant or hosted deployment any tenant qualifies. The GHSA advisory includes a PoC that was driven against the real transport code and produced confirmed host command execution ('[STDIO RCE CONFIRMED]'), so working exploit logic is public. No EPSS score and no KEV status were provided in the input, so there is no signal of active in-the-wild exploitation; absence of EPSS/KEV is not evidence of safety but should not be read as confirmed exploitation either. The vuln.today decision label is 'this_week' (not act_now/emergency), which aligns with a serious, prioritize-promptly issue rather than a drop-everything emergency. The key caveat the sources make explicit is a privilege-asymmetry/multi-tenancy framing: for a single-user self-hosted instance the stdio host-control capability is documented as by-design ('trusted workflow author'), so the real defect is lowest-role reachability on a shared backend - operators should assess their own tenancy model before concluding exposure. |
| Exploit ScenarioDerived | On a shared/multi-tenant Heym backend before 0.0.75, an attacker holding any low-privilege authenticated account sends POST /api/mcp/fetch-tools with a stdio-transport connection whose 'command' and 'args' they control; the backend spawns that process on the host during connection setup, before MCP handshake validation, so the command's side effects fire regardless. A public PoC in the GHSA advisory demonstrates '/bin/sh -c id > /tmp/pwned' executing on the host, and the advisory notes that combined with the shipped root + docker.sock configuration this is a path to host root. Low attack complexity and network vector make this straightforward once an account exists. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 11, 2026
Authenticated command execution in self-hosted Heym before 0.0.75 lets any user holding the lowest role run arbitrary commands on the shared backend host through the POST /api/mcp/fetch-tools endpoint, because it accepts the MCP 'stdio' transport (which is also the default) and spawns the caller-supplied command with caller-supplied arguments and an environment merged over os.environ before any MCP protocol validation occurs. The handler is protected only by Depends(get_current_user) - there is no role gate and no command allowlist - so the unsandboxed host execution that Heym deliberately denies to the user-defined Python tool path is reachable by every tenant; with the shipped root plus docker.sock configuration this becomes a path to host root. Heym 0.0.75 moves stdio MCP servers into a hardened sibling container with no Docker socket and no backend secrets. The vendor advisory publishes a proof-of-concept request that the reporter confirmed executed a command on the host; there is no CISA KEV entry and the exposure is strongly conditioned on deployment mode, since on a trusted single-user instance the capability is by design.
RemediationAI
Vendor-released patch: upgrade Heym to 0.0.75 or later (https://github.com/heymrun/heym/releases/tag/v0.0.75), which starts MCP stdio servers in a hardened, throwaway sibling container with no Docker socket, no read-only-rootfs escape, non-root execution (default 65534:65534) and no forwarding of SECRET_KEY, ENCRYPTION_KEY, DATABASE_URL or provider API keys. The isolating changes are visible in commits 22b8ee60eb92128cf4ff04a9b6c0e1b62bf25a01 and 6c6213f88dfa8b2a70d23a9a271171241e910904 and documented in ENVIRONMENT-VARIABLES.md under the new HEYM_MCP_STDIO_SANDBOX setting. On multi-tenant or hosted deployments, never set HEYM_MCP_STDIO_SANDBOX=subprocess (it restores host execution and is the exact GHSA-378x-q589-34mv condition) and avoid HEYM_MCP_STDIO_FILES_HOST_DIR, which bind-mounts backend host paths into the sandbox; leave both unset and prefer HEYM_MCP_STDIO_FILES_VOLUME with HEYM_MCP_STDIO_FILES_SUBPATH so any file mount is scoped to one tenant. As compensating controls where upgrading is not immediately possible: remove the docker.sock mount and run the backend non-root to blunt the host-root escalation path, and restrict who can reach POST /api/mcp/fetch-tools at the reverse proxy or gateway - the trade-off is that legitimate workflow authors lose the tool-preview feature. Note that the fix's own guidance is that isolation, not egress filtering, is the correct boundary: the SSRF advisory on the same endpoint needs a different remediation and network controls do not address this command-spawn primitive.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Heym is a self-hosted platform for building agentic systems and business-process automations, and it implements the Model Context Protocol (MCP) so agents can call external tool servers over either a network transport or the 'stdio' transport, in which MCP servers are started as local child processes. The flaw is CWE-94 (improper control of generation of code), rooted in the stdio branch of backend/app/services/mcp_tool_executor.py (lines 304-324): the 'transport' field defaults to "stdio", the handler resolves the caller's command via shutil.which(conn["command"]) or conn["command"] and then spawns it with conn["args"] and an environment merged over os.environ. The spawn happens during connection setup, ahead of any MCP handshake validation, so payload side effects fire whether or not the process actually speaks MCP. The endpoint is guarded only by Depends(get_current_user), giving the lowest authenticated role the same unsandboxed host execution the Python user-tool path intentionally sandboxes - a multi-tenant privilege asymmetry rather than a purely technical bypass. The 0.0.75 fix separates concerns by introducing HEYM_MCP_STDIO_SANDBOX, independent of HEYM_PYTHON_TOOL_SANDBOX, and running stdio servers in a throwaway container with cap-drop ALL, no-new-privileges, a read-only root filesystem, resource limits and no Docker socket; caller-supplied mounts are refused outright and only connection-level env vars reach the server. Operators retain a documented, operator-only subprocess escape hatch that restores the vulnerable host-execution condition.
Know when Heym gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Network-reachable, low-complexity, authenticated-lowest-role (PR:L) command execution; scope changed (S:C) because the spawn executes on the shared backend host, impacting other tenants and the host beyond the web app.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
Heym builds and runs agentic systems and business-process automations on self-hosted infrastructure. Prior to version 0.0.75, the same POST /api/mcp/fetch-tools endpoint (any authenticated user, lowest role) also accepts the stdio transport, which spawns the attacker-supplied command with attacker-supplied args and an environment merged over os.environ. The process executes on the shared backend host before MCP protocol validation fails - so side effects fire regardless of whether the command speaks MCP. This is a distinct weakness class and exploit primitive from the SSRF (Advisory 2) on the same endpoint, and needs a different fix (role gating / opt-in trust boundary rather than egress controls). This issue has been patched in version 0.0.75.
Technical POC Analysis
All claims below come from advisory GHSA-378x-q589-34mv.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-67546 enables any authenticated user, including those with the lowest role, to execute arbitrary commands on the shared backend host of self-hosted Heym deployments before version 0.0.75, potentially leading to full host compromise given the default root and Docker socket configuration. This puts all tenants of affected instances at risk and could result in data breaches, service disruption, and reputational damage. Leadership should prioritize remediation due to the high severity and confirmed exploitability.
No vendor-released patch identified at time of analysis; until upgrading to 0.0.75, restrict network access to the Heym API, implement strict role-based access controls beyond the default lowest role, and disable or block the POST /api/mcp/fetch-tools endpoint to prevent exploitation.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Remote code execution in self-hosted Heym through 0.0.70 lets any authenticated user - including one who simply self-reg
Unsandboxed code execution in Heym's Agent Python skill path allows an authenticated user who can create or run a skill
Authenticated users with workflow create/edit rights on self-hosted Heym deployments prior to 0.0.40 can escape the appl
Sandbox escape in the heym workflow platform before 0.0.91 allows an authenticated user who can author or edit workflow
Python eval()-based remote code execution in Heym (heymrun/heym) before 0.0.53 lets an authenticated user who can edit a
Sandbox escape in Heym's custom Python tool executor (versions before 0.0.21) allows authenticated workflow authors to b
Heym deployments prior to 0.0.53 leave their Telegram webhook endpoints without verification of the X-Telegram-Bot-Api-S
Forged Slack webhook events can trigger Heym workflows with the owner's credentials because Heym before 0.0.53 skips Sla
A missing role gate in Heym's team-member management lets any authenticated, non-creator team member seat an additional
Non-blind server-side request forgery in heym (heymrun) before 0.0.109 lets any registered user redirect backend HTTP re
Authorization bypass in Heym's workflow execution engine (versions before 0.0.21) allows any authenticated user to run w
Heym's HTTP workflow node sends outbound requests to whatever URL a workflow author configures, and before 0.0.73 it per
EUVD-2026-124047
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB