CVE-2026-77934
Awaiting Analysis Awaiting Analysis - Queue

Insecure Default Configuration in Coze Studio Allows Command Execution

Vulnerability report for CVE-2026-77934, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-10-20

Last updated on: 2026-10-20

Assigner: VulnCheck

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 Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-10-20
Last Modified
2026-10-20
Generated
2026-11-09
AI Q&A
2026-10-20
EPSS Evaluated
2026-11-07
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
coze-dev coze-studio 0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-1188 The product initializes or sets a resource with a default that is intended to be changed by the product's installer, administrator, or maintainer, but the default is not secure.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-77934 is a remote code execution (RCE) vulnerability in Coze Studio versions before 0.5.0. It stems from an insecure default configuration that allows registered users to run arbitrary commands via unsandboxed Python code runner workflow nodes. Attackers can bypass import filters using __import__('subprocess') to execute system commands, potentially stealing sensitive data like environment variables and API keys.

Detection Guidance

Check Coze Studio version with: docker inspect coze-studio | grep -i version. If version is below 0.5.0, the system is vulnerable. Review workflow code nodes for unsandboxed Python execution. Inspect environment variables in docker/.env for CODE_RUNNER_TYPE set to 'local'.

Impact Analysis

This vulnerability allows attackers with registered user access to execute arbitrary commands on the server. This could lead to theft of environment variables, model API keys, and unauthorized access to connected services such as MySQL, MinIO, Redis, and etcd. The impact includes data breaches, service disruption, and potential lateral movement within the network.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data such as environment variables, model API keys, and databases (MySQL, MinIO, Redis, etcd). Such access may result in data breaches, violating GDPR's data protection requirements and HIPAA's safeguards for protected health information.

Mitigation Strategies

Upgrade Coze Studio to version 0.5.0 or later. Change CODE_RUNNER_TYPE from 'local' to 'sandbox' in docker/.env. Restart the service after changes. Ensure no workflows rely on unsandboxed Python execution.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-77934. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...