{"id":"CVE-2026-55376","published":"2026-10-13T15:12:49Z","modified":"2026-10-16T22:00:50Z","title":"heym Python Tool Sandbox Escape","vendor":"heymrun","product":"heym","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00459,"percentile":0.40643,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"},{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-693","name":"Protection Mechanism Failure"}],"references":[{"url":"https://github.com/heymrun/heym/security/advisories/GHSA-wcgw-9hfw-f6f2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/heymrun/heym/commit/b36d795c6ea841b8f1b511a0952e274487ee4ef3","tags":["x_refsource_MISC"]},{"url":"https://github.com/heymrun/heym/releases/tag/v0.0.40","tags":["x_refsource_MISC"]}],"priority":{"score":14.3,"factors":[{"name":"EPSS percentile","points":8.13},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"heymrun","affectedVersions":[{"vendor":"heymrun","product":"heym","versions":["< 0.0.40"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-10-16T22:00:21.840218Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-98740","exploited":false,"provenance":"source"}}