Skip to content
CriticalVulnerability

CVE-2026-34156: NocoBase Workflow Script Node sandbox escape leading to code execution

Identifier
CVE-2026-34156
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.

Summary

NocoBase's Workflow Script Node runs user-supplied JavaScript inside a Node.js vm sandbox with a custom require allowlist controlled by the WORKFLOW_SCRIPT_MODULES environment variable. Prior to version 2.0.28, the console object passed into the sandbox exposes host-realm WritableWorkerStdio stream objects through console._stdout and console._stderr. An authenticated attacker can traverse the prototype chain to escape the sandbox and achieve Remote Code Execution as root.

Mitigation

Fixed in 2.0.28.