CVE-2026-77934
8.8 HIGHpublic exploit availablePublished 2026-10-20 · Updated 2026-10-20
AI risk analysis
- Summary
- Coze Studio before 0.5.0 runs workflow code nodes in an unsandboxed Python subprocess with insecure defaults, allowing authenticated users to bypass import restrictions and execute arbitrary commands via __import__('subprocess'), leading to full system compromise including credential theft and access to internal services.
- Exploitability
- Exploitation requires only valid user credentials and no additional privileges; the regex-based import filter is trivially bypassed using Python's __import__ mechanism.
- Blast radius
- Successful exploitation grants attackers access to environment variables, model API keys, and internal infrastructure including MySQL, MinIO, Redis, and etcd, enabling lateral movement and persistent compromise.
- Detection
- Look for subprocess.Popen or os.system calls in Python logs from workflow execution contexts; monitor for unexpected outbound connections to internal services (e.g., MySQL port 3306, Redis 6379) originating from application servers during workflow runs.
- Prioritized remediation
- Upgrade to Coze Studio 0.5.0 or later, which implements proper sandboxing and removes the insecure default configuration.
rcesandbox-bypasscredential-theftunsandboxed-codeauth-bypass
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD 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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-1188
Public exploit & PoC references
References
- https://github.com/coze-dev/coze-studio/blob/ffec252d9e2600f61d49b8228a642335e84d5496/docker/.env.example#L234
- https://github.com/coze-dev/coze-studio/commit/fcf40d1008c100108c23be051a49950283f2c2cf
- https://www.lasso.security/vulnerability-database/cve-2026-77934
- https://www.vulncheck.com/advisories/coze-studio-before-0.5.0-rce-via-unsandboxed-local-python-code-runner
Data: NVD (public domain). Analysis: local $0 model. Defensive use only.