KanaDojo < 0.1.18 Sandbox Escape RCE via messages.cjs
lingdojo kana-dojo
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| lingdojo kana-dojo |
| No fix yet |
Original description
KanaDojo before 0.1.18 contains a sandbox escape vulnerability that allows an attacker to execute arbitrary code by exploiting the explicit passing of the global require function into a Node.js vm.runInNewContext() sandbox context in the issue-auto-respond.yml workflow. Attackers can submit a pull request modifying messages.cjs to import arbitrary Node.js modules, bypassing sandbox restrictions and achieving remote code execution with full GitHub Actions runner privileges including access to AUTOMATION_PR_TOKEN.
From the CVE record · VulnCheck