CVE-2026-6224 Details
Description
A security flaw has been discovered in nocobase plugin-workflow-javascript up to 2.0.23. This issue affects the function createSafeConsole of the file packages/plugins/@nocobase/plugin-workflow-javascript/src/server/Vm.js. Performing a manipulation results in sandbox issue. The attack can be initiated remotely. The exploit has been released to the public and may be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
A sandbox escape vulnerability has been identified in the NocoBase plugin 'workflow-javascript' versions prior to 2.0.23. The issue arises in the 'createSafeConsole' function within 'Vm.js', where the prototype chain of bound 'console' methods is not properly sanitized. This oversight allows an attacker to access the host 'Function' constructor and, subsequently, the 'process' object, breaking the intended isolation of the virtual machine environment. The vulnerability can be exploited remotely, without authentication, by users with access to the Workflow JavaScript node testing feature.
To address this vulnerability, do not pass host function objects directly into 'runInNewContext()'. Instead, replace 'console' with a message-forwarding wrapper that does not expose host functions. Additionally, block recovery paths to the 'Function.prototype.constructor' or adopt a stronger isolation design. After applying these changes, extend security tests to cover prototype-chain access to ensure the vulnerability is effectively mitigated.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 13, 2026CISA-ADP
Assessed Apr 14, 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/Pai-777/ai-cve/blob/main/docs/cve-drafts/nocobase-workflow-javascript-sandbox-escape.en.md | [email protected] | ExploitTechnical Analysis |
| https://vuldb.com/submit/785881 | [email protected] | ExploitTechnical Description |
| https://vuldb.com/vuln/357142 | [email protected] | AdvisoryExploitPartial Content |
| https://vuldb.com/vuln/357142/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-264 | Permissions, Privileges, and Access Controls | [email protected] |
| CWE-265 | Privilege Issues | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| @nocobase/plugin-workflow-javascript | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Apr 13, 2026 | New CVE Received | [email protected] |
Volerion