Vulnerabilities/

NocoBase Affected by Sandbox Escape to RCE via console._stdout Prototype Chain Traversal in Workflow Script Node

Severity:
High

Description

## Summary

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.

Recommendation

Update the @nocobase/plugin-workflow-javascript package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
@nocobase/plugin-workflow-javascript
Anything's wrong? Let us know Last updated on March 31, 2026