Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @nocobase/plugin-workflow-javascript
  4. ›
  5. CVE-2026-34156

CVE-2026-34156: NocoBase Affected by Sandbox Escape to RCE via console._stdout Prototype Chain Traversal in Workflow Script Node

March 30, 2026 (updated March 31, 2026)

## 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.

An authenticated attacker can traverse the prototype chain to escape the sandbox and achieve Remote Code Execution (RCE) as root.

References

  • github.com/advisories/GHSA-px3p-vgh9-m57c
  • github.com/nocobase/nocobase
  • github.com/nocobase/nocobase/pull/8967
  • github.com/nocobase/nocobase/releases/tag/v2.0.28
  • github.com/nocobase/nocobase/security/advisories/GHSA-px3p-vgh9-m57c
  • nvd.nist.gov/vuln/detail/CVE-2026-34156

Code Behaviors & Features

Detect and mitigate CVE-2026-34156 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.0.28

Fixed versions

  • 2.0.28

Solution

Upgrade to version 2.0.28 or above.

Impact 9.9 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-913: Improper Control of Dynamically-Managed Code Resources

Source file

npm/@nocobase/plugin-workflow-javascript/CVE-2026-34156.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:16 +0000.