Vulnerability · Published Mar 31, 2026 · Assigned by GitHub_M
CVE-2026-34156NocoBase Affected by Sandbox Escape to RCE via console._stdout Prototype Chain Traversal in Workflow Script Node
Critical 10.0
In plain English
A critical-severity security flaw in nocobase from nocobase. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 35.0% (higher than 98% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei, public proof-of-concept code. Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @nocobase/plugin-workflow-javascript | 2.0.28 | GHSA-px3p-vgh9-m57c |
Affected products (as reported)
Weakness: CWE-913 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
References
- https://github.com/nocobase/nocobase/security/advisories/GHSA-px3p-vgh9-m57c x_refsource_CONFIRM
- https://github.com/nocobase/nocobase/pull/8967 x_refsource_MISC
- https://github.com/nocobase/nocobase/releases/tag/v2.0.28 x_refsource_MISC