Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRegister or use low-priv account
-
DeliveryCreate workflow with set node payload
-
Exploit$-reference embeds value in Playwright step
-
ExecutionExpression substitution breaks string literal
-
ImpactExecute injected Python as root in backend container
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, non-administrator account with workflow-authoring capability (PR:L); where the shipped .env.example enables ALLOW_REGISTER=true, an attacker can self-provision such an account. The exploit targets the Playwright automation node in 'step' mode, which is ENABLED BY DEFAULT, and works specifically in the DEFAULT configuration with custom-code mode disabled (HEYM_PLAYWRIGHT_CUSTOM_CODE_ENABLED=false) and sandbox set to auto - so no non-default or weakened configuration is needed. The concrete trigger is a step field value (e.g. a navigate step URL) or an upstream value reached by a $-reference that contains Python syntax breaking out of the repr()-produced string literal processed by _resolve_expressions_in_code. Limiting factors: exploitation needs valid authentication and the ability to create/execute workflows; it does not require admin rights, user interaction, or the opt-in custom-code feature. The prior fix GHSA-mp23-7m6r-jfw4 does NOT mitigate this string-field variant. |
| Impact | This is a credible, near-term priority rather than a paper-high CVSS. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) describes a network-reachable, low-complexity attack that needs only low privileges and no user interaction, with high confidentiality, integrity, and availability impact on the vulnerable system (VC:H/VI:H/VA:H) - consistent with authenticated remote code execution. The amplifying factor is that the vulnerable 'step' mode is enabled by default and the default configuration (custom-code mode OFF) is explicitly the exploitable one, so no hardening needs to be disabled to reach the flaw; code runs as root inside the backend container. Severity signals are partly incomplete: no EPSS score and no CISA KEV entry are provided in the input, so there is no probabilistic or confirmed in-the-wild exploitation data - KEV status is NO and exploitation is not confirmed active. However, the GHSA advisory contains a detailed, reporter-verified proof of concept (tested on v0.0.138 / commit dd44f89d), which materially raises practical risk above a theoretical finding. The vuln.today decision label is 'this_week', aligning with a prompt-but-not-emergency remediation posture. Net: real priority for any heym operator, tempered only by the product's apparently small deployment footprint and the requirement for an authenticated (if low-privileged) account. |
| Exploit ScenarioDerived | A low-privileged but authenticated user (self-registered where ALLOW_REGISTER=true ships in the sample .env) creates a workflow with a 'set' node whose value, referenced by a Playwright step-mode node via a $-expression, breaks out of the repr()-generated Python string literal. When the workflow executes, _resolve_expressions_in_code splices the attacker's Python into the generated script, which runs unsandboxed as root in the backend container. A reporter-verified proof of concept demonstrating this (reading a sentinel file and running |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Authenticated non-admin workflow authors can execute arbitrary Python as root inside the heym backend container through the Playwright step-mode node in heym versions before 0.0.142. The flaw is in _resolve_expressions_in_code, which substitutes attacker-controlled workflow values directly into already-generated Python source, letting a crafted step field or upstream $-reference break out of a string literal; the advisory includes a verified proof-of-concept and states the issue is exploitable in the default configuration with custom-code mode disabled. No CISA KEV listing or confirmed active exploitation is reported; the vendor has released v0.0.142, and the assessed CVSS 3.1 base score is 8.8 (CVSS 4.0: 8.7), with a vuln.today priority of this_week.
RemediationAI
Upgrade to heym v0.0.142, the vendor-released patch that addresses the expression-substitution path; the advisory is at https://github.com/heymrun/heym/security/advisories/GHSA-7qrv-28q7-w8rj. The vendor's suggested fix is to stop substituting resolved workflow values into generated Python source and instead pass them to the generated script as runtime data, for example through the existing inputs dictionary or JSON read at runtime; the advisory notes that ast.parse or restrictive AST validation is not a fix because syntactically valid but malicious Python would still pass. If immediate upgrade is not possible, restrict workflow-authoring capability to trusted accounts and, where the shipped .env.example enables ALLOW_REGISTER=true, disable open registration so an attacker cannot self-provision a non-admin author account; these controls reduce exposure but do not remove the injection path, and they have operational side effects by limiting legitimate low-privilege workflow creation or self-service onboarding.
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 workflow automation platform whose backend is written in Python. Its Playwright automation node runs in either custom-code mode, which is disabled by default, or step mode, which is enabled by default and generates a Python script from structured step fields. A second pass, _resolve_expressions_in_code at backend/app/services/node_execution/nodes/playwright_node.py:107-123, applies a regular expression to the already-generated script and replaces each $-expression with repr() of a workflow value controlled by the attacker. Because this substitution happens after the generated source has been serialized, a step field value or an upstream value reached by a $-reference can close the surrounding Python string literal and splice in attacker-chosen executable Python. The resulting script is written to a temporary file and run with subprocess.Popen as an unsandboxed subprocess inside the backend container, which runs as root in the default Docker Compose deployment. This is CWE-94 (Improper Control of Generation of Code); the root cause is context-insensitive substitution into already-serialized Python literals rather than passing resolved values to the script as runtime data. Custom-code mode being off does not prevent the attack, and this is a residual string-field variant not addressed by the prior fix GHSA-mp23-7m6r-jfw4. Exploitation requires an authenticated, non-administrator account with workflow-authoring capability (CVSS 3.1 PR:L, UI:N); where the shipped .env.example sets ALLOW_REGISTER=true, an attacker can self-provision such an account.
Know when Python 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network-reachable workflow API with no user interaction (AV:N/UI:N), low-privileged authenticated author required (PR:L), straightforward injection (AC:L); full RCE as root yields C:H/I:H/A:H, scope unchanged as impact is within the backend container.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
Lifecycle Timeline
2DescriptionCVE.org
heym before 0.0.142 contains a remote code execution vulnerability in the Playwright step-mode node where _resolve_expressions_in_code substitutes workflow values directly into generated Python source. Authenticated non-admin users can craft step field values that break out of string literals to execute arbitrary Python as root inside the backend container.
Articles & Coverage 1
Technical POC Analysis
CWE-94 (Improper Control of Generation of Code), specifically a context-insensitive string substitution into already-serialized Python source.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
heym versions prior to 0.0.142 contain a high-severity flaw enabling authenticated non-admin workflow authors to run arbitrary Python as root inside the backend container. This could let a low-privilege insider compromise the heym environment and the sensitive data or systems it can reach. Leadership should prioritize remediation this week due to the verified proof-of-concept exploit and container-root impact.
Apply vendor patch (v0.0.142). If immediate patching is not possible, restrict workflow authoring to trusted users, isolate the heym backend container, and monitor for anomalous Python execution as root.
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.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
EUVD-2026-129150
GHSA-8pp3-9795-cp96
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB