CVE-2026-34156 NocoBase Affected by Sandbox Escape to RCE via console._stdout Prototype Chain Traversal in Workflow Script Node
Authenticated attackers can escape the JavaScript sandbox in NocoBase's workflow script node to execute arbitrary code with root privileges.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-34156?
CVE-2026-34156 is a critical code injection vulnerability in nocobase, published on 31 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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.
Weakness: CWE-913
Which versions are affected by CVE-2026-34156?
2 open source packages ship an affected version, including @nocobase/plugin-workflow-javascript. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
@nocobase/plugin-workflow-javascript npm | All versions | 2.0.28 |
@nocobase/plugin-workflow-javascript npm | All versions | 2.0.28 |
Products include Nocobase Nocobase.
How do I fix CVE-2026-34156?
Upgrade @nocobase/plugin-workflow-javascript to 2.0.28 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2026-34156 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-34156 exists.
Public exploit code: 1 Exploit-DB entry, 1 Nuclei template and 2 proofs of concept on GitHub.
Other vulnerabilities in nocobase
- CVE-2026-34825 NocoBase Has SQL Injection via template variable substitution in workflow SQL node
- CVE-2026-41640 NocoBase Vulnerable to SQL Injection via String Concatenation in Recursive Eager Loading
- CVE-2026-41641 NocoBase Vulnerable to SQL Validation Bypass via `sqlCollection:update` Missing `checkSQL` Call
- CVE-2026-40346 NocoBase has SSRF in Workflow HTTP Request and Custom Request Plugins
Sources
Also known as GHSA-px3p-vgh9-m57c.