Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconFork KanaDojo repository
-
DeliveryInject shell metacharacters into patchNotesData.json
-
ExploitOpen pull request as routine release-notes update
-
InstallMaintainer reviews and merges PR
-
C2release.yml workflow runs execSync on injected string
-
ExecuteCommands execute on GitHub runner
-
ImpactExfiltrate GITHUB_TOKEN and push backdoored release
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Attacker must (1) be able to author a pull request against the KanaDojo repository (any GitHub account can do this for a public repo), (2) modify the version or changes fields of patchNotesData.json with shell metacharacters, and (3) get a maintainer to merge that PR so the release.yml workflow executes on a runner that has contents:write and a valid GITHUB_TOKEN. Exploitation is limited by the merge gate (UI:P in the CVSS 4.0 vector) - without maintainer review approval the injected payload never runs - and by the fact that the malicious diff is visible in patchNotesData.json and may be flagged during code review. |
| Impact | The vendor-supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N) yields 8.5 and reflects realistic conditions: a network-reachable attack surface (a public GitHub repo), low attack complexity once a PR is staged, low attacker privileges (a GitHub account able to file a PR), and passive user interaction (a maintainer must merge). High confidentiality and integrity impact map to GITHUB_TOKEN theft and the ability to push tampered releases. No CISA KEV listing and no published EPSS score are available, and no public POC was identified - the practical risk is therefore conditional on a maintainer being tricked into merging a malicious PR, which makes this a targeted supply-chain risk rather than a mass-exploitation candidate. The biggest uncertainty is whether mainline review practices would catch the trivially-suspicious diff in patchNotesData.json. |
| Exploit ScenarioDerived | An attacker forks the KanaDojo repository, edits patchNotesData.json so the version or changes field contains a payload like |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 11, 2026
Command injection in KanaDojo's GitHub Actions release workflow (release.yml) allows attackers who can land a pull request to execute arbitrary commands on the repository's CI runner. The version and changes fields of patchNotesData.json are interpolated unsanitized into a child_process.execSync() call, granting any merged malicious PR access to GITHUB_TOKEN and contents:write permissions. No public exploit identified at time of analysis, but the supply-chain blast radius is significant for downstream KanaDojo consumers.
RemediationAI
Upgrade to KanaDojo v0.1.18 or later, which corresponds to the upstream fix referenced at https://github.com/lingdojo/kana-dojo/releases/tag/v0.1.18 (vendor-released patch: 0.1.18). If immediate upgrade is not possible, replace the vulnerable execSync() interpolation in release.yml with execFile() or spawn() using an argument array so that JSON values cannot be parsed as shell syntax, or load and pass patchNotesData.json values exclusively through environment variables consumed by a parameterized script. Operationally, require maintainer review of any PR that touches patchNotesData.json or workflow files, restrict workflow_run / pull_request_target triggers, and scope GITHUB_TOKEN permissions to the minimum required (set permissions: contents: read where possible) - note the trade-off that tightening permissions may break legitimate release automation that relies on contents:write.
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 is CWE-78 (Improper Neutralization of Special Elements used in an OS Command). The vulnerable component is the project's GitHub Actions release.yml workflow, which reads attacker-controllable JSON content (patchNotesData.json) and concatenates it directly into a Node.js child_process.execSync() shell invocation. Because execSync runs the resulting string through /bin/sh, shell metacharacters (;, backticks, $(), |, &&) embedded in the JSON fields are interpreted rather than treated as data. The affected CPE is cpe:2.3:a:lingdojo:kana-dojo (all versions prior to the v0.1.18 release tag).
Know when Kana Dojo 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
PR:L for a GitHub account able to file a PR; AC:H and UI:R because a maintainer must be social-engineered into merging; S:C as code executes in the trusted CI runner context.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
KanaDojo contains a command injection vulnerability that allows an attacker with pull request access to execute arbitrary shell commands by inserting shell metacharacters into the version or changes fields of patchNotesData.json, which are interpolated unsanitized into a child_process.execSync() call in the release.yml workflow. Attackers can have a malicious pull request merged to trigger the GitHub Actions runner with contents write permissions and access to GITHUB_TOKEN.
Executive ViewAI
KanaDojo's GitHub Actions release workflow contains a command injection vulnerability (CVSS 8.5) that allows attackers with pull request access to execute arbitrary commands and compromise the repository's credentials (GITHUB_TOKEN). This creates critical supply chain risk for any organization using KanaDojo, as a malicious release could distribute compromised artifacts downstream to all dependent projects.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Enforce mandatory code review and approval gates for all pull requests touching release workflows; (2) Restrict PR merge permissions to senior engineers with explicit code ownership; (3) Rotate GITHUB_TOKEN credentials immediately; (4) Disable workflow permissions by default, explicitly granting only required scopes; (5) Add input validation to reject special shell characters in version and changes fields; (6) Require signed commits for merge authorization; (7) Implement continuous monitoring of release pipeline logs for command execution anomalies; (8) Enable branch protection rules requiring dismissal of stale reviews before merge.
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
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
EUVD-2026-36284
GHSA-g3g7-r6qj-455p
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB