CVE-2026-55376

heym Python Tool Sandbox Escape

Published Oct 13, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Heymrun
Heymrun heym
Vendors & Products Heymrun
Heymrun heym
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'}

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')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 16, 2026, 10:00 PM
Reserved
Jun 16, 2026, 6:57 PM
Status
Deferred
Published
Oct 13, 2026, 4:17 PM
Modified
Oct 16, 2026, 10:17 PM