CVE-2026-34156
NocoBase Affected by Sandbox Escape to RCE via console._stdout Prototype Chain Traversal in Workflow Script Node
NocoBase is an AI-powered no-code/low-code platform for building business applications and enterprise solutions. Prior to version 2.0.28, NocoBase's Workflow Script Node executes user-supplied JavaScript inside a Node.js vm sandbox with a custom require allowlist (controlled by WORKFLOW_SCRIPT_MODULES env var). However, the console object passed into the sandbox context exposes host-realm WritableWorkerStdio stream objects via console._stdout and console._stderr. An authenticated attacker can traverse the prototype chain to escape the sandbox and achieve Remote Code Execution as root. This issue has been patched in version 2.0.28.
- Affected
- nocobase
- CVSS v3.1 NVD
- 9.9 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H - EPSS
- 6.79% chance of exploitation in the next 30 days, 94th percentile
- Nuclei
- critical · CWE-913
- Published
- 2026-03-31
- Updated
- 2026-04-02
Proof-of-concept exploits (2)
- 0xBlackash/CVE-2026-341560★ · 2026-04-03
- Dhananjayasj/CVE-2026-34156-NocoBase-Sandbox-Escape-via-Workflow-Execution-Vulnerability-0★ · 2026-06-02
Nuclei templates (1)
ExploitDB entries (1)
Security advisories
- nocobase/nocobase/security/advisories/GHSA-px3p-vgh9-m57c
- advisories/GHSA-px3p-vgh9-m57c
- nocobase/nocobase/pull/8967