ZeroHour

CVE-2026-34156

PoC moderate

Authenticated Sandbox Escape RCE in NocoBase Workflow Script Node

CVSS 3.1
9.9 critical
EPSS
35%p98
Published
()
Modified
AI analysis

NocoBase prior to version 2.0.28 runs user-supplied JavaScript in its Workflow Script Node inside a Node.js vm sandbox with a require allowlist set by the WORKFLOW_SCRIPT_MODULES environment variable. The console object injected into the sandbox exposes host-realm WritableWorkerStdio stream objects through console._stdout and console._stderr, allowing an authenticated attacker to traverse the prototype chain and break out of the sandbox. A successful escape yields remote code execution running as root on the host. Any NocoBase deployment before 2.0.28 that permits authenticated users to create or edit workflow script nodes is affected. No confirmed in-the-wild exploitation is reported yet, but a public proof-of-concept exists and EPSS assigns a 35% probability of exploitation within 30 days (98th percentile).

What to do: Upgrade NocoBase to version 2.0.28 or later. If upgrading is not immediately possible, restrict workflow script node permissions to trusted administrators and review workflow execution logs for unexpected commands. Internet-exposed instances should be prioritized, since the flaw is network-exploitable by any authenticated low-privileged user and public PoC code is available.

Affected
nocobaseall versions prior to 2.0.28
Estimated exposure
moderatelikely thousands of self-hosted instances, a subset of them internet-exposed — NocoBase is a self-hosted open-source low-code platform with no published install counts, so this order-of-magnitude estimate reflects typical adoption of such platforms and the common pattern of exposing at least the web UI to the network…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

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.

Vendors
nocobase
Products
nocobase
Weakness
CWE-913
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

In the news

No ingested article mentions this CVE yet.