CVE-2026-34156 Details
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.
A remote code execution vulnerability has been identified in NocoBase's Workflow Script Node, prior to version 2.0.28. The issue arises because the Workflow Script Node executes user-supplied JavaScript within a Node.js virtual machine sandbox. This sandboxing includes a custom 'require' allowlist, controlled by the 'WORKFLOW_SCRIPT_MODULES' environment variable. However, the 'console' object provided to the sandbox context inadvertently exposes host-realm WritableWorkerStdio stream objects through 'console._stdout' and 'console._stderr'. An authenticated attacker can exploit this by traversing the prototype chain to escape the sandbox, leading to remote code execution as the root user.
Users can upgrade to NocoBase version 2.0.28 or later, where this vulnerability has been patched. Additionally, it is recommended to run the application as a non-root user inside Docker and restrict access to the '/api/flow_nodes:test' endpoint to admin-only roles.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 2, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/nocobase/nocobase/pull/8967 | [email protected] | Issue TrackingPatch |
| https://github.com/nocobase/nocobase/releases/tag/v2.0.28 | [email protected] | ProductRelease Notes |
| https://github.com/nocobase/nocobase/security/advisories/GHSA-px3p-vgh9-m57c | [email protected] | ExploitMitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-913 | Improper Control of Dynamically-Managed Code Resources | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| nocobase nocobase | < 2.0.28 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 7, 2026 | Initial Analysis | [email protected] |
| Mar 31, 2026 | New CVE Received | [email protected] |