{"id":"CVE-2026-55376","state":"PUBLISHED","title":"heym Python Tool Sandbox Escape","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.","publishedAt":"2026-10-13T15:12:49.604Z","updatedAt":"2026-10-16T22:00:50.339Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["heymrun heym"],"affected":[{"vendor":"heymrun","product":"heym","versions":[{"version":"< 0.0.40","status":"affected"}]}],"references":["https://github.com/heymrun/heym/security/advisories/GHSA-wcgw-9hfw-f6f2","https://github.com/heymrun/heym/commit/b36d795c6ea841b8f1b511a0952e274487ee4ef3","https://github.com/heymrun/heym/releases/tag/v0.0.40"],"weaknesses":["CWE-78","CWE-94","CWE-693"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/55xxx/CVE-2026-55376.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-55376","state":"PUBLISHED","datePublished":"2026-10-13T15:12:49.604Z","dateUpdated":"2026-10-16T22:00:50.339Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-16T18:57:40.181Z"},"containers":{"cna":{"title":"heym Python Tool Sandbox Escape","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"heymrun","product":"heym","versions":[{"version":"< 0.0.40","status":"affected"}]}],"references":[{"url":"https://github.com/heymrun/heym/security/advisories/GHSA-wcgw-9hfw-f6f2","name":"https://github.com/heymrun/heym/security/advisories/GHSA-wcgw-9hfw-f6f2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/heymrun/heym/commit/b36d795c6ea841b8f1b511a0952e274487ee4ef3","name":"https://github.com/heymrun/heym/commit/b36d795c6ea841b8f1b511a0952e274487ee4ef3","tags":["x_refsource_MISC"]},{"url":"https://github.com/heymrun/heym/releases/tag/v0.0.40","name":"https://github.com/heymrun/heym/releases/tag/v0.0.40","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","lang":"en","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-94","lang":"en","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-693","lang":"en","description":"CWE-693: Protection Mechanism Failure","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-13T15:12:49.604Z"},"source":{"advisory":"GHSA-wcgw-9hfw-f6f2","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/heymrun/heym/security/advisories/GHSA-wcgw-9hfw-f6f2","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-16T22:00:21.840218Z","id":"CVE-2026-55376","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-16T22:00:50.339Z"}}]}}}