Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconGain user account or network access
-
DeliveryCraft prompt with shell metacharacters
-
ExploitSubmit prompt to MiniClaw cognitive pulse handler
-
InstallString concatenation builds unsafe shell command
-
C2Shell interprets metacharacters and executes injected command
-
ExecuteArbitrary code runs as MiniClaw process
-
ImpactData exfiltration or privilege escalation
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 | Exploitation requires two specific, non-default conditions: (1) The attacker must have authenticated user-level access (PR:L) to the MiniClaw application or system running MiniClaw - this is not an unauthenticated attack. (2) The attacker must be on the same network segment as the MiniClaw service (AV:A), which excludes internet-wide exploitation but includes internal LANs, VPNs, or compromised peers. Exploitation does not require special MiniClaw configuration changes; the vulnerability is present in default deployments of versions 0.8.0 and 0.9.0. The vulnerability is specifically triggered when user-controlled prompt input is passed to the resolveSkillScriptPath or cognitive pulse execution functions without sanitization. No user interaction (UI:N) is required - the attacker's single injection payload triggers execution immediately. The combination of these conditions means this is primarily a risk for insider threats, compromised accounts, or lateral movement scenarios rather than external perimeter attacks. |
| Impact | The CVSS 3.1 score of 5.5 with vector AV:A/AC:L/PR:L/UI:N/S:U indicates moderate risk with significant practical limitations. The AV:A (Adjacent Network) designation means the attacker must be on the same network segment; this is considerably more restrictive than AV:N but less so than AV:L (Local). PR:L (Low Privilege) requires the attacker to hold a user account on the system or application, which limits the attack surface to insider threats or credential compromise scenarios. AC:L (Low Complexity) means exploitation is straightforward once access is obtained. The CVSS:3.1 E:P (Proof of Concept Exists) modifier increases the practical exploitability score. However, the real-world risk is substantially lower than the base 5.5 suggests: the attack requires both network adjacency AND user-level authentication, which dramatically reduces the spontaneous attack surface compared to unauthenticated remote vulnerabilities. The combination of AV:A and PR:L places this in a 'trusted insider' or 'compromised account' threat model rather than a perimeter-facing risk. Defenders should prioritize this for internal security and privilege escalation prevention rather than external attack surface hardening. The public exploit and available patch make this a straightforward remediation priority for operators using MiniClaw, but the authentication and network requirements mean it is not a critical internet-facing emergency. |
| Exploit ScenarioDerived | An authenticated user with low privilege access to a MiniClaw instance crafts a malicious prompt containing shell metacharacters, such as: 'normal prompt"; rm -rf /important/data; echo "'. When the resolveSkillScriptPath function processes this prompt and constructs the shell command string, the injected metacharacters break out of the intended command context and execute arbitrary commands (e.g., file deletion, data exfiltration, lateral movement) with the privileges of the MiniClaw process. The exploit is particularly effective because the AC:L and UI:N vector mean no special conditions or user interaction are required - the injection succeeds as soon as the malicious input reaches the vulnerable function. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 10, 2026
OS command injection in 8421bit MiniClaw 0.8.0 and 0.9.0 allows local authenticated attackers to execute arbitrary system commands via the resolveSkillScriptPath function in the System Command Handler (src/kernel.ts). The vulnerability stems from unsafe command construction using string concatenation with unsanitized user input passed to shell execution. Publicly available exploit code exists, and a patch has been released by the vendor.
RemediationAI
Apply the vendor-released patch immediately by updating to a version containing commit 223c16a1088e138838dcbd18cd65a37c35ac5a84. The patch is available via GitHub at https://github.com/8421bit/MiniClaw/pull/7. The fix replaces unsafe exec() string concatenation with spawn() using argument arrays, which eliminates shell interpretation of user input. If immediate patching is not feasible, temporarily disable the resolveSkillScriptPath function or restrict its use to trusted, pre-validated input only. An interim workaround involves validating and escaping all prompt input through a whitelist of allowed characters (alphanumerics, hyphens, underscores only) before passing to the cognitive pulse system, though this may break legitimate use cases and should only be used as a temporary measure. Network-level mitigation: restrict access to MiniClaw services to trusted internal networks only, as the AV:A vector requires adjacency. Monitor authentication logs for suspicious user account creation or privilege escalation attempts that could precede exploitation.
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
MiniClaw is a Node.js-based system command handler that processes skill scripts and cognitive pulse prompts. The vulnerability exists in the resolveSkillScriptPath function within src/kernel.ts, which constructs shell commands by concatenating user-controlled prompt data directly into command strings without proper escaping or parameterization. The original code used the unsafe exec() function from Node.js child_process module with string interpolation, which allows shell metacharacters (pipes, semicolons, backticks, command substitution) in the prompt input to break out of the intended command context. CWE-78 (Improper Neutralization of Special Elements used in an OS Command) classifies this as a classic command injection flaw. The patch migrates from exec(command_string) with string concatenation to spawn(command, args_array) with argument array separation, preventing shell interpretation of user input by bypassing the shell interpreter entirely.
Know when Miniclaw 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:A/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was detected in 8421bit MiniClaw 0.8.0/0.9.0. This issue affects the function resolveSkillScriptPath of the file src/kernel.ts of the component System Command Handler. The manipulation results in os command injection. The exploit is now public and may be used. The patch is identified as 223c16a1088e138838dcbd18cd65a37c35ac5a84. It is best practice to apply a patch to resolve this issue.
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.
OS command injection in 8421bit MiniClaw's executeCognitivePulse function allows authenticated remote attackers to injec
Path traversal in MiniClaw's executeSkillScript function allows authenticated remote attackers to access files outside t
EUVD-2026-28988
GHSA-hpxg-grhm-7fxc
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB