CVE-2026-34156

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

Published Mar 31, 2026 CVSS 3.1 · 10 Critical EPSS 35.6% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The flaw in NocoBase's Workflow Script Node lets an authenticated attacker run user-supplied JavaScript inside a Node.js VM sandbox. Because the sandboxed code receives a console object that leaks host-level WritableWorkerStdio streams through console._stdout and console._stderr, an attacker can traverse the prototype chain to escape the sandbox. The escape grants unrestricted execution privileges on the underlying operating system, effectively achieving remote code execution with root authority. This weakness corresponds to CWE-913, reflecting an improper control of the execution environment.

Affected Systems

NocoBase is the affected product. All releases before v2.0.28 are vulnerable. The patch, released in v2.0.28, addresses the issue.

Risk and Exploitability

The vulnerability scores a maximum CVSS score of 10, indicating critical severity. An EPSS score of 35% indicates a higher probability of exploitation in the wild. The issue is not listed in CISA's KEV catalog, implying no known widespread exploitation yet. The exploit requires the attacker to have authenticated access to the NocoBase instance, enabling the creation or modification of workflow scripts. Attackers can embed JavaScript that traverses the prototype chain via console._stdout, escapes the VM boundary, and runs arbitrary commands as the host process user. Since the escape grants root-level permissions, any compromised server can be fully taken over.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the NocoBase update to version 2.0.28 or newer immediately.
  • Restrict user permissions for creating or editing Workflow Script Nodes to trusted administrators only.
  • Continuously monitor system logs for anomalies such as unexpected console usage or sandbox escape attempts.

Generated by OpenCVE AI on October 25, 2026 at 18:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-px3p-vgh9-m57c NocoBase Affected by Sandbox Escape to RCE via console._stdout Prototype Chain Traversal in Workflow Script Node
History
Type Values Removed Values Added
CPEs cpe:2.3:a:nocobase:nocobase:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Nocobase
Nocobase nocobase
Vendors & Products Nocobase
Nocobase nocobase
Type Values Removed Values Added
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.
Title NocoBase Affected by Sandbox Escape to RCE via console._stdout Prototype Chain Traversal in Workflow Script Node
Weaknesses CWE-913
References
Metrics cvssV3_1

{'score': 10, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}

Weaknesses
  • CWE-913

    Improper Control of Dynamically-Managed Code Resources

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 2, 2026, 3:08 PM
Reserved
Mar 25, 2026, 8:12 PM
Status
Analyzed
Published
Mar 31, 2026, 2:16 PM
Modified
Jul 24, 2026, 10:10 PM