Description
Heym builds and runs agentic systems and business-process automations on self-hosted infrastructure. Prior to 0.0.40, an authenticated user who can create or edit a workflow with an Agent custom Python tool can bypass the blacklist-based sandbox in backend/app/services/python_tool_executor.py because allowed standard-library modules expose operating-system, process, and filesystem capabilities through public attributes that pass _safe_import() and _validate_code_safety(). The runner then executes the supplied tool with exec(), permitting commands and file operations as the backend application user; self-registration affects reachability, but portal triggering alone does not grant code control. This issue is fixed in 0.0.40.
Severity (CVSS)
| Base score | 8.8 |
|---|---|
| Severity | High |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Provided by | CNA |
Weaknesses
- CWE-78 — CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
- CWE-94 — CWE-94: Improper Control of Generation of Code ('Code Injection')
- CWE-693 — CWE-693: Protection Mechanism Failure
Affected products
| Vendor | Product | Versions |
|---|---|---|
| heymrun | heym | < 0.0.40 [affected] |
References
- https://github.com/heymrun/heym/security/advisories/GHSA-wcgw-9hfw-f6f2 (x_refsource_CONFIRM)
- https://github.com/heymrun/heym/commit/b36d795c6ea841b8f1b511a0952e274487ee4ef3 (x_refsource_MISC)
- https://github.com/heymrun/heym/releases/tag/v0.0.40 (x_refsource_MISC)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 14 Oct 2026 07:04 UTC.