Heym: Playwright Custom Code Backend RCE via `playwrightCode` Field
- State
- Published
- Severity
- 8.8 High
- Published
- Nov 11, 2026
- Updated
- Nov 13, 2026
- Reserved
- Jul 29, 2026
Description
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.
| Product | Versions |
|---|---|
| heym heymrun | < 0.0.71 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 8.8 High | GitHub_M |
Weaknesses
- CWE-94 Improper Control of Generation of Code
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.