Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessFork target repository
-
DeliveryOpen PR modifying messages.cjs
-
ExploitTrigger issue-auto-respond.yml workflow
-
ExecutionEscape vm sandbox via injected require
-
PersistExecute arbitrary code on runner
-
ImpactExfiltrate AUTOMATION_PR_TOKEN
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Protection mechanism completeness
|
| Exploitation Conditions | Exploitation requires the attacker to be able to submit a pull request that modifies messages.cjs in the lingdojo/kana-dojo repository (or a fork running the vulnerable issue-auto-respond.yml workflow), and the vulnerable workflow must actually evaluate that file using vm.runInNewContext with the global require function exposed in the sandbox context. Per the CVSS 4.0 vector, PR:L means the attacker needs a GitHub account capable of opening PRs, and UI:P means a maintainer action or workflow trigger event is needed to run the workflow on the attacker's code; the AUTOMATION_PR_TOKEN secret must also be present in the workflow environment for the documented impact. The condition does not apply to deployed KanaDojo end-user instances - only repositories that ship the vulnerable workflow file in versions before 0.1.18. |
| Impact | The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N reflects a network-reachable attack (open a PR) with low complexity, low privileges (a GitHub account that can fork and submit PRs), and passive user interaction (a maintainer triggering or approving the workflow run). The 8.5 base score plausibly understates risk for projects that auto-run workflows on PRs without approval, since exploitation then becomes effectively UI:N. No EPSS, KEV, or SSVC data was provided, and no public exploit is identified, but the technical impact is concrete: theft of AUTOMATION_PR_TOKEN enables further repo tampering and potential supply-chain pivots. The narrow user base (a single niche learning app) is the primary factor keeping real-world risk lower than the score suggests. |
| Exploit ScenarioDerived | An attacker forks lingdojo/kana-dojo and opens a pull request that modifies messages.cjs to include code such as require('child_process').execSync(...) inside what is intended to be sandboxed logic. When a maintainer interaction or the workflow trigger causes issue-auto-respond.yml to evaluate the file via vm.runInNewContext with require exposed, the payload executes on the GitHub Actions runner and exfiltrates AUTOMATION_PR_TOKEN, which the attacker then uses to push malicious commits or release artifacts. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 11, 2026
Sandbox escape leading to remote code execution affects KanaDojo (lingdojo/kana-dojo) before version 0.1.18, where the issue-auto-respond.yml GitHub Actions workflow passes the global require function into a Node.js vm.runInNewContext() sandbox. An attacker submitting a pull request that modifies messages.cjs can load arbitrary Node.js modules from within the sandbox and gain code execution on the Actions runner with access to AUTOMATION_PR_TOKEN. No public exploit identified at time of analysis, though the VulnCheck advisory documents the exploitation primitive in detail.
RemediationAI
Vendor-released patch: upgrade to KanaDojo v0.1.18 or later, which applies the fix in commit 31b85a5d7c4b323ddeba3b2dc5e7807558710544 (https://github.com/lingdojo/kana-dojo/commit/31b85a5d7c4b323ddeba3b2dc5e7807558710544). For forks or downstream copies that cannot upgrade immediately, stop passing require into the vm context in issue-auto-respond.yml and refactor messages.cjs so PR-controlled code is not evaluated by a privileged workflow; alternatively, gate the workflow on pull_request_target with an explicit maintainer-approval step or restrict it to runs triggered by trusted authors, accepting the trade-off that contributor-facing automation will be delayed. As a defensive control, scope AUTOMATION_PR_TOKEN to the minimum permissions required and rotate it if exploitation is suspected. Refer to the VulnCheck advisory at https://www.vulncheck.com/advisories/kanadojo-sandbox-escape-rce-via-messages-cjs.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause maps to CWE-693 (Protection Mechanism Failure): Node.js's vm module is explicitly documented as not being a security boundary, and passing the require function into a vm.runInNewContext() context entirely defeats whatever isolation the sandbox was intended to provide. Once require is reachable from sandboxed code, attacker-controlled JavaScript can load child_process, fs, or any other built-in to break out. The affected component is the issue-auto-respond.yml workflow (CPE cpe:2.3:a:lingdojo:kana-dojo) which sources messages.cjs from the PR head - a classic GitHub Actions pwn_request pattern where untrusted PR content is executed in a privileged workflow context that holds repository secrets.
Know when Node.js gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Network-reachable PR submission with low complexity; PR:L for any GitHub account, UI:R for maintainer/workflow trigger, S:C as the sandbox boundary is crossed, high C/I via token theft, no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Articles & Coverage 2
Executive ViewAI
KanaDojo's GitHub Actions workflow contains a sandbox escape that allows malicious pull requests to execute arbitrary code on CI/CD runners and steal automation tokens. This directly exposes deployment credentials and compromises the integrity of any software released through this pipeline.
Apply vendor patch: upgrade to KanaDojo version 0.1.18 or later.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could
FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t
Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete
Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc
An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi
Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin
A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond
EUVD-2026-36273
GHSA-mq42-j95v-p3gq
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB