{"id":"CVE-2026-34156","published":"2026-03-31T13:33:11Z","modified":"2026-04-02T15:08:38Z","title":"NocoBase Affected by Sandbox Escape to RCE via console._stdout Prototype Chain Traversal in Workflow Script Node","vendor":"nocobase","product":"nocobase","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.35609,"percentile":0.98483,"provenance":"source"},"cwes":[{"id":"CWE-913","name":"Improper Control of Dynamically-Managed Code Resources"}],"references":[{"url":"https://github.com/nocobase/nocobase/security/advisories/GHSA-px3p-vgh9-m57c","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nocobase/nocobase/pull/8967","tags":["x_refsource_MISC"]},{"url":"https://github.com/nocobase/nocobase/releases/tag/v2.0.28","tags":["x_refsource_MISC"]}],"priority":{"score":31.7,"factors":[{"name":"EPSS percentile","points":19.7},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":7.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2026-05-07"},"pocGithub":{"count":1,"skipped":1,"earliest":"2026-04-03","earliestUrl":"https://github.com/ashrafzaryouh/CVE-2026-34156","repos":[{"name":"ashrafzaryouh/CVE-2026-34156","url":"https://github.com/ashrafzaryouh/CVE-2026-34156","stars":0,"created":"2026-04-03"}]},"nuclei":[{"id":"CVE-2026-34156","name":"NocoBase - VM Sandbox Escape to Remote Code Execution","severity":"critical","path":"http/cves/2026/CVE-2026-34156.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-34156.yaml"}],"first":{"date":"2026-04-03","source":"PoC-in-GitHub","url":"https://github.com/ashrafzaryouh/CVE-2026-34156"},"provenance":"source"},"vendorSlug":"nocobase","affectedVersions":[{"vendor":"nocobase","product":"nocobase","versions":["< 2.0.28"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-04-02T15:08:26.814719Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@nocobase/plugin-workflow-javascript","vulnerableRanges":["<2.0.28"],"patched":["2.0.28"],"from":["GHSA-px3p-vgh9-m57c"],"provenance":"source"}],"summary":{"text":"NocoBase, a no-code/low-code platform for building business applications, has a sandbox escape flaw in its Workflow Script Node, where user-supplied JavaScript runs in a Node.js vm sandbox and the console object exposed to that sandbox leaks host-realm stream objects through console._stdout and console._stderr. An attacker with network access and low-privilege authenticated credentials can traverse the prototype chain from those objects to escape the sandbox and execute code on the host, with no user interaction or special configuration required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:26:55Z"},"euvd":{"id":"EUVD-2026-17414","exploited":false,"provenance":"source"},"exploits":[{"id":52552,"url":"https://www.exploit-db.com/exploits/52552","title":"NocoBase 2.0.27 - Authenticated VM Sandbox Escape","date":"2026-05-07","verified":false,"provenance":"source"}]}