8.8High
CVE-2026-77934Coze Studio before 0.5.0 RCE via Unsandboxed Local Python Code Runner
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.
Weakness (CWE):
CWE-1188
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| coze | coze studio | < 0.5.0 | |
| coze-dev | coze-studio | < 0.5.0 |
References and patches
- Lasso.security Advisory technical-descriptionexploit
- https://github.com/coze-dev/coze-studio/commit/fcf40d1008c100108c23be051a49950283f2c2cf patch
- https://github.com/coze-dev/coze-studio/blob/ffec252d9e2600f61d49b8228a642335e84d5496/docker/.env.example#L234 technical-description
- VulnCheck Advisory: Coze Studio before 0.5.0 RCE via Unsandboxed Local Python Code Runner third-party-advisory