Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate to MiniClaw service
-
DeliverySubmit prompt with shell metacharacters
-
ExploitexecuteCognitivePulse constructs unsafe command string
-
Installexec() invokes shell
-
C2Shell interprets metacharacters
-
ExecuteArbitrary OS command executes with MiniClaw process privileges
-
ImpactAttacker achieves persistence or data exfiltration
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: (1) Network access to the MiniClaw service (AV:N), (2) valid authentication credentials (PR:L-user-level or application-level authentication, not admin), (3) ability to submit a prompt to the executeCognitivePulse function, and (4) at least one external CLI tool (ollama, ccr, gemini, qodercli, opencode, codex, claude, aider, fabric, gh, or interpreter) present in the system PATH. No special configuration is required-the vulnerability exists in default deployments. The vulnerability is NOT limited to a specific platform or version due to rolling release model. Exploitation is prevented by: (a) patching to commit 028f62216dee9f64833d0f1cfda7c217067ceba8 or later, (b) blocking network access to MiniClaw from untrusted networks, or (c) removing or disabling all external CLI tools if they are not required for operation. |
| Impact | CVSS 6.3 with AV:N/AC:L/PR:L reflects network-exploitable command injection requiring authenticated access (PR:L). However, EPSS exploitation probability and real-world risk are notably elevated by public proof-of-concept code (E:P in CVSS vector) and the straightforward nature of command injection attacks. The AC:L (low complexity) indicates minimal attacker effort required once authenticated. The limiting factor is PR:L authentication requirement-this is not unauthenticated remote code execution, reducing immediate risk in externally-facing scenarios but creating high risk for internal/trusted-user threats. CVSS scope unchanged (S:U) means impact is limited to the MiniClaw process itself, not system-wide. The RL:O (Official Fix Available) status confirms patch availability. Real-world priority depends on deployment model: if MiniClaw is exposed to untrusted authenticated users or if authentication can be bypassed, exploitation probability increases significantly. The patch's transition from exec() to spawn() is a well-established secure coding practice, making patch deployment straightforward with no expected side effects. |
| Exploit ScenarioDerived | An authenticated user sends a crafted API request to MiniClaw with a prompt parameter containing shell metacharacters such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 07, 2026
OS command injection in 8421bit MiniClaw's executeCognitivePulse function allows authenticated remote attackers to inject arbitrary shell commands via unsanitized prompt input passed to external CLI tools. The vulnerability stems from unsafe string interpolation in command construction, enabling execution of system commands with the privileges of the MiniClaw process. Publicly available exploit code exists, and vendor-released patch commit 028f62216dee9f64833d0f1cfda7c217067ceba8 is available on GitHub.
RemediationAI
Deploy patch commit 028f62216dee9f64833d0f1cfda7c217067ceba8 or a later version. The patch replaces unsafe exec() calls with spawn() using array-based argument passing, eliminating shell metacharacter interpretation. Users on rolling releases should pull the latest commit from https://github.com/8421bit/MiniClaw/. Patch details are available at https://github.com/8421bit/MiniClaw/pull/7. If immediate patching is not possible, restrict network access to MiniClaw to trusted internal users only, limit the set of available external CLI tools (removing those not in use), and implement input validation on prompts to block common command injection payloads (though this is not a substitute for patching). Verify external CLI tools (ollama, ccr, gemini, etc.) are properly sandboxed, as command injection can invoke any system command available in the MiniClaw process's PATH.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
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 application that integrates with external CLI tools (ollama, ccr, gemini, qodercli, etc.) for cognitive processing. The vulnerable executeCognitivePulse function in src/kernel.ts was constructing shell commands by string concatenation, concatenating user-supplied prompts directly into command strings passed to exec() without escaping or validation. The root cause (CWE-78: Improper Neutralization of Special Elements used in an OS Command) resulted from using exec() which spawns a shell and interprets metacharacters. The patch replaces exec() with spawn() using array-based argument passing, which bypasses shell interpretation and prevents command injection. CPE cpe:2.3:a:8421bit:miniclaw:*:*:*:*:*:*:*:* indicates all versions of MiniClaw are potentially affected.
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:N/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 found in 8421bit MiniClaw up to 223c16a1088e138838dcbd18cd65a37c35ac5a84. Affected is the function executeCognitivePulse of the file src/kernel.ts. Performing a manipulation results in os command injection. It is possible to initiate the attack remotely. The exploit has been made public and could be used. This product is using a rolling release to provide continious delivery. Therefore, no version details for affected nor updated releases are available. The patch is named 028f62216dee9f64833d0f1cfda7c217067ceba8. To fix this issue, it is recommended to deploy a patch.
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 0.8.0 and 0.9.0 allows local authenticated attackers to execute arbitrary syste
Path traversal in MiniClaw's executeSkillScript function allows authenticated remote attackers to access files outside t
EUVD-2026-28466
GHSA-q253-8qxh-gx79
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB