CVE-2026-77934: Coze Studio before 0.5.0 RCE via Unsandboxed Local Python Code Runner

Published Oct 20, 2026
·
Updated

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.

Affected Software

1 affected component
ByteDance Coze Studio<0.5.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Coze Studio to a version that resolves this vulnerability.

    Fixed in 0.5.0

Event History

Oct 20, 2026
CVE Published
via MITRE·12:46 AM
Data Sourced
via MITRE·12:46 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:17 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

Any registered Coze Studio user can exploit it by creating or running a workflow code node. No additional privileges or user interaction are required.

2

Are default deployments affected?

Yes. The issue is described as an insecure default configuration in versions before 0.5.0, where Python workflow code runs in an unsandboxed python3 subprocess.

3

What does an attacker need to do to execute commands?

The attacker needs access to a registered account and the ability to run workflow code nodes. They can bypass the regex-based import filter using __import__('subprocess') to invoke operating-system commands.

4

What could an attacker access after exploitation?

Command execution can expose environment variables and model API keys, and may provide access to services reachable from the deployment, including MySQL, MinIO, Redis, and etcd.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203