NocoBase
NocoBase Affected by Sandbox Escape to RCE via console._stdout Prototype Chain Traversal in Workflow Script Node
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.0.28
Fixed in 2.0.28
Mitigation
Upgrade nocobase to 2.0.28 or later.
References
- Vendor advisory github.com/nocobase/nocobase/security/advisori…
- Patch github.com/nocobase/nocobase/pull/8967
- Release notes github.com/nocobase/nocobase/releases/tag/v2.0…
Timeline
Days relative to CVE publicationFirst public PoC 2.9 days after publication; not in CISA KEV. First PoC: 0xBlackash/CVE-2026-34156 (created 3 Apr 2026, found by us: backfilled).
PoC repositories
Found on GitHub.4 PoCs
PoCs 4
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| 0xBlackash/CVE-2026-34156 | 3 Apr 2026 +2.9 d | 0 | PoC |
| 0xredash/CVE-2026-34156 | 3 Apr 2026 +2.9 d | 0 | PoC |
| ashrafzaryouh/CVE-2026-34156 | 3 Apr 2026 +2.9 d | 0 | PoC |
| Dhananjayasj/CVE-2026-34156-NocoBase-Sandbox-Escape-via-Workflow-Execution-Vulnerability- | 2 Jun 2026 +63 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Exploit-DB | NocoBase 2.0.27 - VM Sandbox Escape | 7 May 2026 | 14 Nov 2026 |
| nuclei template | nuclei template: NocoBase - VM Sandbox Escape to Remote Code Execution | unknown | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 4 PoC reposPOST /api/flow_nodes:test
- Key headers
Accept: application/json- Body markers
"workflow""nodes""type":"script""config""script""upstreamResult"inapplication/json- Seen in
- 4 repos: 0xBlackash/CVE-2026-34156, 0xredash/CVE-2026-34156, Dhananjayasj/CVE-2026-34156-NocoBase-Sandbox-Escape-via-Workflow-Execution-Vulnerability-, ashrafzaryouh/CVE-2026-34156
- Evidence
- 0xBlackash/CVE-2026-34156/CVE-2026-34156.py:101 0xBlackash/CVE-2026-34156/CVE-2026-34156.yaml:21 0xredash/CVE-2026-34156/CVE-2026-34156.py:101 0xredash/CVE-2026-34156/CVE-2026-34156.yaml:21 Dhananjayasj/CVE-2026-34156-NocoBase-Sandbox-Escape-via-Workflow-Execution-Vulnerability-/CVE-2026-34156.py:98 ashrafzaryouh/CVE-2026-34156/CVE-2026-34156.py:101
POST /api/auth/signin
- Body markers
"email""password"inapplication/json- Seen in
- 3 repos: 0xBlackash/CVE-2026-34156, 0xredash/CVE-2026-34156, ashrafzaryouh/CVE-2026-34156
- Evidence
- 0xBlackash/CVE-2026-34156/CVE-2026-34156.py:63 0xredash/CVE-2026-34156/CVE-2026-34156.py:63 ashrafzaryouh/CVE-2026-34156/CVE-2026-34156.py:63
POST /api/auth:signIn
- Body markers
"email""password"inapplication/json- Seen in
- 1 repo: Dhananjayasj/CVE-2026-34156-NocoBase-Sandbox-Escape-via-Workflow-Execution-Vulnerability-
- Evidence
- Dhananjayasj/CVE-2026-34156-NocoBase-Sandbox-Escape-via-Workflow-Execution-Vulnerability-/CVE-2026-34156.py:63
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/api/flow_nodes:test(?:[?#].*)?$
(?i)^/api/auth/signin(?:[?#].*)?$
(?i)^/api/auth:signIn(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-34156 nocobase nocobase exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/flow_nodes:test"; http.header; content:"Accept: application/json"; nocase; http.request_body; content:"|22|workflow|22|"; http.request_body; content:"|22|nodes|22|"; http.request_body; content:"|22|type|22|:|22|script|22|"; http.request_body; content:"|22|config|22|"; http.request_body; content:"|22|script|22|"; http.request_body; content:"|22|upstreamResult|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-34156; classtype:web-application-attack; sid:9092914; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-34156 nocobase nocobase exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/auth/signin"; http.request_body; content:"|22|email|22|"; http.request_body; content:"|22|password|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-34156; classtype:web-application-attack; sid:9412951; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-34156 nocobase nocobase exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/auth:signIn"; http.request_body; content:"|22|email|22|"; http.request_body; content:"|22|password|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-34156; classtype:web-application-attack; sid:9177764; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: nocobase nocobase exploit attempt (CVE-2026-34156)
id: gg-pocmon-cve-2026-34156-9092914
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-34156. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-34156
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/api/flow_nodes:test'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.34156
title: nocobase nocobase exploit attempt (CVE-2026-34156)
id: gg-pocmon-cve-2026-34156-9412951
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-34156. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-34156
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/api/auth/signin'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.34156
title: nocobase nocobase exploit attempt (CVE-2026-34156)
id: gg-pocmon-cve-2026-34156-9177764
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-34156. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-34156
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/api/auth:signIn'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.34156