← Back to search

CVE-2026-77934

8.8 HIGHpublic exploit available

Published 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

Data: NVD (public domain). Analysis: local $0 model. Defensive use only.