Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRegister low-privilege account
-
DeliveryCreate workflow via API
-
ExploitInject Python into playwrightCode field
-
ExecutionTrigger workflow execution
-
PersistBackend runs code via subprocess.Popen
-
ImpactAchieve RCE as root, exfiltrate secrets
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 a valid authenticated account on the Heym instance (PR:L), but the vendor states open self-registration is the default (ALLOW_REGISTER=true), so any internet-accessible visitor can obtain one; no admin role or special privilege is needed. The vulnerable path is the Playwright node's custom-code branch, entered when the node's playwrightCode field is non-empty and playwrightSteps is absent - in affected versions (through 0.0.70) this path has no enabling flag and executes by default, so no non-default configuration is required to exploit it. The step-based Playwright path is not the vulnerable one. Primary limiting factors: network reachability of the backend, existence of an account (largely nullified by default open registration), and the deployment running the fixed/gated 0.0.71 build; impact severity (root) is tied specifically to the default Docker image where the service runs as root. |
| Impact | This is a genuine high-priority issue, not an inflated-CVSS artifact. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, 8.8) aligns closely with the documented mechanism: a network-reachable workflow endpoint takes attacker-controlled Python in the playwrightCode field and runs it via subprocess.Popen([sys.executable, script_path]) with no sandbox, AST check, or role gate - CWE-94 code injection yielding full backend RCE. The only barrier is PR:L (a valid account), but the vendor states registration is open by default (ALLOW_REGISTER=true), so a freshly self-registered account suffices, effectively collapsing the auth barrier on internet-exposed default deployments and arguably warranting a view close to unauthenticated. In the default Docker deployment the service runs as root, maximizing impact. The vuln.today decision label is this_week (not act_now/emergency). No EPSS score and no CISA KEV entry are provided in the input, so there is no confirmation of active exploitation and no quantified exploitation probability; however, the GitHub Security Advisory GHSA-mp23-7m6r-jfw4 includes complete working PoC code (poc.py) whose execution was confirmed during Phase 2 dynamic reproduction (uid=0(root) returned via the API). Net: trivially exploitable, high-impact, with public confirmed exploit code but no evidence of in-the-wild use yet. |
| Exploit ScenarioDerived | An attacker self-registers a low-privilege account on an internet-exposed Heym instance (open registration is the default), creates a blank workflow, then updates it with a Playwright node whose playwrightCode field contains arbitrary Python and triggers execution. The backend writes the code to a temp .py file and runs it as the service user - root in the default Docker image - giving full host/container compromise; a public, dynamically-verified PoC for exactly this flow exists in the GHSA advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 11, 2026
Remote code execution in self-hosted Heym through 0.0.70 lets any authenticated user - including one who simply self-registers on the default ALLOW_REGISTER=true deployment - run arbitrary Python as the backend service process, which is root in the stock Docker image. The workflow engine writes the attacker-supplied playwrightCode field of a Playwright node verbatim into a temporary .py file and launches it with subprocess.Popen([sys.executable, script_path]), with no AST validation, sandboxing, or role gate, exposing secrets, database credentials and all stored workflow data, plus network reach into internal services such as PostgreSQL. Heym 0.0.71 turns custom Playwright code off by default and moves it into a throwaway sibling container, and the vendor advisory ships a proof-of-concept whose execution was confirmed during dynamic reproduction.
RemediationAI
Vendor-released patch: 0.0.71 (commit d2fd46c07754c4ed3e80b521aa54cc276039849b, release https://github.com/heymrun/heym/releases/tag/0.0.71) - upgrade every self-hosted instance, since no separate configuration change is needed for the primary fix: custom Playwright code is disabled by default via HEYM_PLAYWRIGHT_CUSTOM_CODE_ENABLED=false and, when an operator opts in, runs inside a throwaway sibling container per HEYM_PLAYWRIGHT_SANDBOX=auto/docker, which fails closed if Docker is unavailable; do not select HEYM_PLAYWRIGHT_SANDBOX=subprocess, which the vendor documents as not a security boundary and suitable only for trusted single-user or local development. Step-based Playwright nodes are unaffected and stay enabled after the upgrade. The sandbox deliberately leaves container networking on (bridge) because browser automation requires it, so operators who enable custom code should restrict egress at the network layer themselves. Until patched, the practical exposure is the account requirement plus reachability of the backend: disable open self-registration (ALLOW_REGISTER) or otherwise restrict who can hold an account, and limit network access to the backend service; also review stored workflows for Playwright nodes carrying a playwrightCode value. Running the service as a non-root user reduces the blast radius, as the root-level impact is tied specifically to the default Docker image. The full technical write-up and confirmed proof-of-concept are at https://github.com/heymrun/heym/security/advisories/GHSA-mp23-7m6r-jfw4.
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 Python/FastAPI workflow engine for agentic systems and business-process automation, and the flaw is a CWE-94 improper control of code generation. When a workflow node of type playwright executes, backend/app/services/workflow_executor.py reads node_data['playwrightCode']; if that string is non-empty and playwrightSteps is absent, the executor passes it to _build_playwright_script(), which inserts it verbatim via _indent(), writes the result to a temporary .py file, and executes it unconditionally with subprocess.Popen([sys.executable, script_path]). The user-controlled JSON enters through schemas.py (WorkflowUpdate.nodes: list[dict]), is persisted by workflows.py with no effective sanitization of playwrightCode, and is dispatched through registry.py to the playwright node handler - an unbroken source-to-sink path with no allowlist, no AST analysis, no container isolation, no scrubbed environment, and no admin-only gate. Because the child process inherits the backend's uid, filesystem, environment and Docker socket access, the stock Docker deployment running uvicorn as root makes the outcome full container compromise rather than merely code execution in a worker. The 0.0.71 fix has two parts: a new HEYM_PLAYWRIGHT_CUSTOM_CODE_ENABLED gate that defaults to false, with custom code routed through backend/app/services/playwright_sandbox.py into a single-use sibling container (no Docker socket, no backend mounts, no backend secrets, no-new-privileges, dropped capabilities, CPU/memory/PID limits) that fails closed when Docker is unavailable; and a related hardening in playwright_code_generator.py where boolean-intended step fields are coerced through _as_py_bool_literal(), preventing injection such as (__import__("os").system("id"), False)[1] through the step-based path. Step-based Playwright nodes are unaffected by the gate and remain available.
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 API, no user interaction, only a self-registerable low-privilege account needed (PR:L), and verbatim code execution gives full C/I/A loss; impact stays within the service's own authority (S:U).
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.71, Heym's workflow engine accepts an arbitrary Python code string in the playwrightCode field of a Playwright node. This string is written to a temporary .py file and executed directly by the backend process via subprocess.Popen([sys.executable, script_path]) with no sandboxing, AST validation, or role gate. Any authenticated user - including a freshly registered account - can achieve full remote code execution (RCE) on the backend host, running as the service process user (observed as root in the default Docker deployment). This issue has been patched in version 0.0.71.
Articles & Coverage 4
Technical POC Analysis
CWE-94 (Improper Control of Generation of Code) in Heym's own backend, not in a third-party library: backend/app/services/workflowexecutor.py.
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-67544 is a high-severity remote code execution flaw in self-hosted Heym workflow automation (through version 0.0.70) that allows any authenticated user-including self-registered users on default configurations-to execute arbitrary commands as the backend service process, which runs as root in the standard Docker image. This exposes sensitive data, internal databases, and network access, potentially leading to full system compromise and data breach. Leadership should prioritize remediation because default deployments are vulnerable by design, and exploitation requires only low-privilege access.
No vendor-released patch identified at time of analysis. Interim mitigations: set ALLOW_REGISTER=false to prevent self-registration, restrict authenticated user access to trusted individuals, avoid exposing Heym to untrusted networks, and consider network segmentation to limit reach to internal services.
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
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.
Unsandboxed code execution in Heym's Agent Python skill path allows an authenticated user who can create or run a skill
Authenticated command execution in self-hosted Heym before 0.0.75 lets any user holding the lowest role run arbitrary co
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-124045
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB