/

CVE-2026-67543

Severity:

HIGH RISK

(8.8)

Insufficient Sandbox Isolation (CWE-94) in Heym Skills

CVE-2026-67543

Deferred

Vulnerability type

Category:

Insufficient Execution Isolation

CWE:

CWE-94, CWE-269

Impact:

Untrusted code execution with potential backend or host compromise

Severity:

HIGH RISK

(8.8)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Before version 0.0.70, Heym's skill executor ran skill-provided Python in a local backend subprocess without Docker isolation, unlike its separate Python tool executor. If an attacker can supply or influence a skill that gets executed, its code may access the backend's filesystem, network, and environment; deployments running the backend as root with the Docker socket mounted may also expose the host to root-level compromise.

Affected context

The issue is in Heym's skill Python executor, which runs code through a local backend subprocess without the Docker sandbox used for the separate Python tool executor. A 512 MB memory limit and a limited environment-variable denylist do not provide filesystem or network isolation. The impact depends on who can create, modify, or trigger skills and on the backend's privileges; the shipped Docker configuration runs the backend as root and mounts the Docker socket, which can make host-level compromise possible.

Exploit preconditions

  • Attack surface: The skill execution feature and its local backend subprocess.
  • Required access: A way to supply or modify a Python skill, or otherwise cause attacker-influenced skill code to be executed.
  • Trigger point: The backend runs the affected skill.
  • Why exploitation is possible: The skill process runs in the backend execution context without Docker isolation, leaving filesystem access, network egress, and environment variables outside the denylist available to it. The consequences depend on the backend's privileges and mounted resources.

Why this happens

Heym applies a strong isolation boundary to one untrusted-code execution path but not to its sibling skill executor. Running skill-provided Python as a local subprocess does not isolate it from the backend's filesystem, network, or privileges; a memory limit and a short environment-variable denylist do not replace a sandbox. This is an insufficiently constrained code execution pattern associated with CWE-94: Improper Control of Generation of Code. Where the process inherits excessive privileges or sensitive resources, CWE-269: Improper Privilege Management also describes the risk.

Potential impact

  • Untrusted skills may read or alter files accessible to the backend.
  • Skill code may communicate over the network or access environment variables not covered by the denylist.
  • A compromised backend process could expose application data, credentials, or other services.
  • In deployments where the backend runs as root with the Docker socket mounted, an attacker could potentially gain control of the host.

General mitigation guidance

Defensive designs should run untrusted skill code in a dedicated, strongly isolated execution environment rather than inheriting the backend's context. Apply least privilege and secure-by-default resource restrictions, including limiting filesystem access, network egress, credentials, and access to container-management interfaces. Reduce trust in skill inputs, validate and constrain what can be executed, and avoid exposing sensitive environment variables to skill processes. Resource limits can supplement these controls but should not be treated as a substitute for isolation.

How teams detect issues like this

  • Use static analysis and code review to find subprocess-based execution of skill or user-supplied code that lacks an explicit sandbox boundary.
  • Review whether skill processes inherit backend credentials, environment variables, filesystem mounts, network access, or elevated privileges.
  • Enforce policies requiring untrusted-code execution to use an approved isolated runtime and prohibiting unnecessary Docker socket mounts or root execution.
  • Monitor skill execution and backend processes for unexpected file access, network connections, or use of container-management interfaces.
  • Automated code review tools may help flag unsafe execution patterns for human assessment.

Sources

SourceLink
github.comgithub.com/heymrun/heym/commit/2155057f4153a1e3a7b789d104f7fa96e92964e5
github.comgithub.com/heymrun/heym/commit/28bb2901e4dea128ac493f67ee9478d230b7a3d7
github.comgithub.com/heymrun/heym/releases/tag/0.0.70
github.comgithub.com/heymrun/heym/security/advisories/GHSA-hcv7-mg77-pg73

Frequently asked

questions

The issue is in local skill execution, but remote exploitation may be possible if an exposed interface lets an attacker supply or influence a skill and cause it to run. Actual exposure depends on the deployment and access controls.

They need a way to create or modify attacker-influenced skill code, or to otherwise trigger such code. The impact also depends on the backend's privileges and accessible resources.

Run untrusted skill code in a dedicated sandbox with least privilege and explicit filesystem, network, and environment restrictions. Do not rely on a memory limit or environment-variable denylist as the isolation boundary.

Apply the same security requirements to every untrusted-code execution path, review subprocess boundaries and inherited privileges, and enforce policies that prevent untrusted code from running in the backend's privileged context.

Find out what's already
exploitable in your codebase.