CVE-2026-48546

KanaDojo < 0.1.18 Sandbox Escape RCE via messages.cjs

Published Jun 11, 2026 CVSS 4.0 · 8.5 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

KanaDojo before version 0.1.18 contains an escape from the Node.js sandbox that allows an attacker to execute arbitrary code with the full privileges of the GitHub Actions runner. By submitting a pull request that modifies messages.cjs, a malicious user can import arbitrary Node.js modules, bypass the intended vm.runInNewContext restriction, and run code that can read, modify, or delete repository secrets, including the AUTOMATION_PR_TOKEN used by the workflow.

Affected Systems

The product KanaDojo, developed by lingdojo, is affected in all releases earlier than 0.1.18. The vulnerability is triggered when the auto‑respond workflow runs on GitHub Actions for repositories that accept pull requests from external contributors.

Risk and Exploitability

The CVSS score of 8.5 highlights the high severity of this flaw. No EPSS score is available and the vulnerability is not listed in CISA KEV catalog. The attack vector requires a crafted pull request that edits messages.cjs; once merged, the malicious code executes inside the GitHub Actions runner with full permissions, enabling the attacker to access any secret or code and to abuse the AUTOMATION_PR_TOKEN with full privileges.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update KanaDojo to version 0.1.18 or later, which removes the unsafe passing of the global require function into vm.runInNewContext.
  • If an immediate upgrade is not possible, disable or remove the auto‑respond feature from the issue‑auto‑respond.yml workflow and prevent pull requests from modifying messages.cjs until the patch is applied.
  • Limit the AUTOMATION_PR_TOKEN to only the scopes required for the CI process, and rotate or replace the token immediately if a compromise is suspected.
  • Monitor GitHub Actions logs for unexpected module imports or changes to messages.cjs and reject any suspicious pull requests.

Generated by OpenCVE AI on June 11, 2026 at 20:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Lingdojo
Lingdojo kana-dojo
Vendors & Products Lingdojo
Lingdojo kana-dojo
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title KanaDojo < 0.1.18 Sandbox Escape RCE via messages.cjs
Weaknesses CWE-693
References
Metrics cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N'}

cvssV4_0

{'score': 8.5, 'vector': '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'}

Weaknesses
  • CWE-693

    Protection Mechanism Failure

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 8, 2026, 2:04 PM
Reserved
May 21, 2026, 6:34 PM
Status
Deferred
Published
Jun 11, 2026, 6:16 PM
Modified
Oct 26, 2026, 11:10 AM