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.
Published: 2026-10-13
Score: 8.8 High
EPSS: n/a
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

Heym's agentic workflow system allows authenticated users to define custom Python tools. Prior to version 0.0.40 the engine’s sandbox relied on a blacklist of modules. Because standard‑library modules expose operating‑system, process, and filesystem functionality through public attributes, the broker’s validation functions mistakenly marked them as safe. An attacker who can create or edit a workflow with an Agent custom Python tool can therefore bypass this restriction, causing the backend service to execute the supplied code with exec(). The code runs with the privileges of the backend application user, granting full control over the host, including command execution and file manipulation.

Affected Systems

The vulnerability affects the heymrun heym platform version 0.0.39 and earlier. Any deployment running those releases and permitting authenticated users to edit or create Agent custom Python tools is susceptible.

Risk and Exploitability

The CVSS score of 8.8 indicates high severity. EPSS is not available and the vulnerability is not yet listed in CISA’s KEV catalogue, suggesting no widespread exploitation yet. Nonetheless, the attack requires authentication, so an attacker with legitimate user credentials or that compromises a user can inject arbitrary code. No public exploit is reported, but the inability to sandbox user‑supplied Python exposes the backend service to full control of the host.

Generated by OpenCVE AI on October 13, 2026 at 17:26 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Heym to version 0.0.40 or later.
  • Restrict the ability to create or edit Agent custom Python tools to trusted administrators.
  • Enable detailed logging and monitor workflow executions for suspicious command or file operations.

Generated by OpenCVE AI on October 13, 2026 at 17:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 13 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
First Time appeared Heymrun
Heymrun heym
Vendors & Products Heymrun
Heymrun heym

Tue, 13 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
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.
Title heym Python Tool Sandbox Escape
Weaknesses CWE-693
CWE-78
CWE-94
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-13T15:12:49.604Z

Reserved: 2026-06-16T18:57:40.181Z

Link: CVE-2026-55376

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-13T16:17:21.720

Modified: 2026-10-13T16:17:21.853

Link: CVE-2026-55376

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-13T17:30:14Z

Weaknesses
  • CWE-693

    Protection Mechanism Failure

  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')