{
  "id": "CVE-2026-34156",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-34156",
  "published_at": "2026-03-31T13:33:11.325Z",
  "title": "NocoBase Affected by Sandbox Escape to RCE via console._stdout Prototype Chain Traversal in Workflow Script Node",
  "vendor": "nocobase",
  "product": "nocobase",
  "cvss": {
    "score": 10,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-03-31T08:34:55Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": -0.2,
    "source": "nuclei",
    "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-34156.yaml"
  },
  "poc_repo_count": 4,
  "exploit_count": 2,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-913",
  "cpes": [
    "cpe:2.3:a:nocobase:nocobase:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 10,
    "nvd": 9.9
  },
  "repos": [
    {
      "repo": "0xBlackash/CVE-2026-34156",
      "url": "https://github.com/0xBlackash/CVE-2026-34156",
      "created_at": "2026-04-03T12:04:06Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2026-02-06T16:11:55Z"
    },
    {
      "repo": "0xredash/CVE-2026-34156",
      "url": "https://github.com/0xredash/CVE-2026-34156",
      "created_at": "2026-04-03T12:04:06Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2026-02-06T16:11:55Z"
    },
    {
      "repo": "ashrafzaryouh/CVE-2026-34156",
      "url": "https://github.com/ashrafzaryouh/CVE-2026-34156",
      "created_at": "2026-04-03T12:04:06Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2026-02-06T16:11:55Z"
    },
    {
      "repo": "Dhananjayasj/CVE-2026-34156-NocoBase-Sandbox-Escape-via-Workflow-Execution-Vulnerability-",
      "url": "https://github.com/Dhananjayasj/CVE-2026-34156-NocoBase-Sandbox-Escape-via-Workflow-Execution-Vulnerability-",
      "created_at": "2026-06-02T07:24:49Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2023-09-06T14:00:14Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "nocobase",
        "product": "nocobase",
        "ranges": [
          "\u003c 2.0.28"
        ],
        "fixed_in": [
          "2.0.28"
        ]
      }
    ],
    "upgrade": [
      "Upgrade nocobase to 2.0.28 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/nocobase/nocobase/security/advisories/GHSA-px3p-vgh9-m57c"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/nocobase/nocobase/pull/8967"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/nocobase/nocobase/releases/tag/v2.0.28"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://www.exploit-db.com/exploits/52552",
      "source": "exploitdb",
      "title": "NocoBase  2.0.27 - VM Sandbox Escape",
      "published_at": "2026-05-07T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-34156.yaml",
      "source": "nuclei",
      "title": "nuclei template: NocoBase - VM Sandbox Escape to Remote Code Execution",
      "published_at": "2026-03-31T08:34:55Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/api/flow_nodes:test",
      "headers": [
        {
          "name": "Accept",
          "value": "application/json"
        }
      ],
      "body_markers": [
        "\"workflow\"",
        "\"nodes\"",
        "\"type\":\"script\"",
        "\"config\"",
        "\"script\"",
        "\"upstreamResult\""
      ],
      "content_type": "application/json",
      "protocol": "https",
      "repos": [
        "0xBlackash/CVE-2026-34156",
        "0xredash/CVE-2026-34156",
        "Dhananjayasj/CVE-2026-34156-NocoBase-Sandbox-Escape-via-Workflow-Execution-Vulnerability-",
        "ashrafzaryouh/CVE-2026-34156"
      ],
      "repo_count": 4,
      "confidence": 0.85,
      "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",
        "ashrafzaryouh/CVE-2026-34156/CVE-2026-34156.yaml:21"
      ]
    },
    {
      "method": "POST",
      "path_template": "/api/auth/signin",
      "body_markers": [
        "\"email\"",
        "\"password\""
      ],
      "content_type": "application/json",
      "protocol": "https",
      "repos": [
        "0xBlackash/CVE-2026-34156",
        "0xredash/CVE-2026-34156",
        "ashrafzaryouh/CVE-2026-34156"
      ],
      "repo_count": 3,
      "confidence": 0.7,
      "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"
      ]
    },
    {
      "method": "POST",
      "path_template": "/api/auth:signIn",
      "body_markers": [
        "\"email\"",
        "\"password\""
      ],
      "content_type": "application/json",
      "protocol": "http",
      "repos": [
        "Dhananjayasj/CVE-2026-34156-NocoBase-Sandbox-Escape-via-Workflow-Execution-Vulnerability-"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "Dhananjayasj/CVE-2026-34156-NocoBase-Sandbox-Escape-via-Workflow-Execution-Vulnerability-/CVE-2026-34156.py:63"
      ]
    }
  ],
  "rules": []
}
