{"id":"CVE-2026-55376","summary":"heym Python Tool Sandbox Escape","details":"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.","aliases":["GHSA-wcgw-9hfw-f6f2"],"modified":"2026-10-14T02:48:26.365858749Z","published":"2026-10-13T15:12:49.604Z","database_specific":{"cwe_ids":["CWE-693","CWE-78","CWE-94"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55376.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55376.json"},{"type":"FIX","url":"https://github.com/heymrun/heym/commit/b36d795c6ea841b8f1b511a0952e274487ee4ef3"},{"type":"WEB","url":"https://github.com/heymrun/heym/releases/tag/v0.0.40"},{"type":"ADVISORY","url":"https://github.com/heymrun/heym/security/advisories/GHSA-wcgw-9hfw-f6f2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55376"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/heymrun/heym","events":[{"introduced":"0"},{"fixed":"ecf7ed6911501e2a0936175227ef59e8decb91f6"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"0"},{"fixed":"0.0.40"}]}}],"versions":["v0.0.39","v0.0.38","v0.0.37","v0.0.36","v0.0.35","v0.0.34","v0.0.33","v0.0.32","v0.0.31","v0.0.30","v0.0.29","v0.0.27","v0.0.26","v0.0.25","v0.0.24","v0.0.23","v0.0.22","v0.0.21","v0.0.20","v0.0.19","v0.0.18","v0.0.17","v0.0.16","v0.0.15","v0.0.14","v0.0.13","v0.0.12","v0.0.11","v0.0.10","v0.0.9","v0.0.8","v0.0.7","v0.0.6","v0.0.5","v0.0.4","v0.0.3","v0.0.2","v0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-55376.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}