Description
Coze Studio before 0.5.0 contains an insecure default configuration that allows any registered user to execute commands by running workflow code nodes in an unsandboxed python3 subprocess. Attackers can bypass the regex import filter with __import__('subprocess') to run commands, stealing environment variables, model API keys, and accessing MySQL, MinIO, Redis and etcd.
Published: 2026-10-20
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

Coze Studio versions earlier than 0.5.0 expose a misconfiguration that allows any registered user to run Python code in an unsandboxed subprocess. By exploiting the flaw with a regex‑bypass __import__('subprocess'), an attacker can execute arbitrary shell commands inside the host environment. The consequence is full remote code execution, enabling the theft of environment variables, model API keys, and direct access to the database and storage services exposed by the application.

Affected Systems

The vulnerable configuration applies to the Coze Studio product from coze‑dev. All installations of this software released before version 0.5.0 carry the misconfiguration and may accept user‑sourced workflow code nodes that are executed without sandboxing.

Risk and Exploitability

The CVSS score of 8.7 categorizes this issue as high severity. The EPSS score is not available, however the denial of sandboxing makes the exploitation straightforward for any authenticated user with permission to create workflows. This vulnerability is not listed in the CISA KEV catalog, but the presence of a user‑controllable code path poses a substantial risk to confidentiality, integrity, and availability of the host system.

Generated by OpenCVE AI on October 20, 2026 at 11:31 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Coze Studio to version 0.5.0 or later, which removes the unsandboxed Python code runner.
  • If upgrading is not possible immediately, reconfigure the application to disable the unsandboxed local Python code runner or enforce a sandbox that restricts system calls.
  • Restrict user permissions so that only trusted administrators can create or run workflow code nodes, and optionally disable the __import__ bypass in the regex filter.

Generated by OpenCVE AI on October 20, 2026 at 11:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

Type Values Removed Values Added
Metrics ssvc

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


Tue, 20 Oct 2026 01:15:00 +0000

Type Values Removed Values Added
Description Coze Studio before 0.5.0 contains an insecure default configuration that allows any registered user to execute commands by running workflow code nodes in an unsandboxed python3 subprocess. Attackers can bypass the regex import filter with __import__('subprocess') to run commands, stealing environment variables, model API keys, and accessing MySQL, MinIO, Redis and etcd.
Title Coze Studio before 0.5.0 RCE via Unsandboxed Local Python Code Runner
First Time appeared Coze
Coze coze Studio
Weaknesses CWE-1188
CPEs cpe:2.3:a:coze:coze_studio:*:*:*:*:*:*:*:*
Vendors & Products Coze
Coze coze Studio
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'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Coze Coze Studio
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-20T14:29:04.949Z

Reserved: 2026-08-21T17:52:36.080Z

Link: CVE-2026-77934

cve-icon Vulnrichment

Updated: 2026-10-20T14:28:57.438Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-20T01:17:19.823

Modified: 2026-10-20T20:06:37.150

Link: CVE-2026-77934

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-20T20:45:14Z

Weaknesses
  • CWE-1188

    Initialization of a Resource with an Insecure Default