Heym
Heym: Playwright Custom Code Backend RCE via `playwrightCode` Field
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 0.0.71
Fixed in 0.0.71
Mitigation
Upgrade heym to 0.0.71 or later.
References
- Vendor advisory github.com/heymrun/heym/security/advisories/GH…
- Patch github.com/heymrun/heym/commit/d2fd46c07754c4e…
- Release notes github.com/heymrun/heym/releases/tag/0.0.71
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.