Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local access to JunoClaw host
-
DeliveryInject crafted command with bypass arguments
-
ExploitTrigger shell plugin execution
-
ExecutionEvade substring blocklist via quoting/expansion
-
PersistExecute arbitrary OS command
-
ImpactAchieve 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 | Requires unsafe-shell Cargo feature compiled into the JunoClaw binary (not enabled by default per commit diff comments). Sandbox_mode runtime flag must be set to false (pre-patch default was true per diff line 71, but description implies some deployments ran with false). Allowed_commands list must permit a dangerous command or be empty/bypassable (pre-patch default included python, python3 per diff, providing execution primitive). Attacker needs local access to the host running JunoClaw (CVSS AV:L) but no authentication within the application (PR:N) and no user interaction (UI:N), suggesting either OS-level access or exploitation via a companion vulnerability that bridges remote→local boundary. Description explicitly states 'when combined with the companion advisory' - standalone local exploitation may require prior compromise of the host or container, but chained exploitation could be remotely triggerable if companion advisory is a prompt injection or RCE that feeds malicious input to the shell plugin. LIMITING FACTOR: Default build configuration disables unsafe-shell feature entirely, removing vulnerable code paths from binary. |
| Impact | Real-world risk requires careful interpretation of conflicting signals. CVSS 8.4 High with local attack vector (AV:L) but no privileges required (PR:N) is unusual - local access without authentication typically implies physical access or prior system compromise, which limits practical exploitability in cloud/SaaS deployments. EPSS data not provided; no CISA KEV listing indicates no confirmed widespread exploitation. The vulnerability description references 'combined with the companion advisory', suggesting this is one component of a multi-CVE chain - standalone impact may be lower than CVSS suggests. The feature-gating in the fix (unsafe-shell disabled by default) indicates vendor recognized this as an opt-in dangerous capability rather than a mainline feature, further limiting real-world attack surface. PRIMARY RISK: environments that explicitly enabled unsafe-shell feature AND deployed JunoClaw on shared hosts or containers where local access boundaries are weak (e.g., multi-tenant Kubernetes pods, developer workstations running untrusted agent code). LOWER RISK: default installations (feature disabled), isolated deployments, or environments where AI agents cannot be influenced by external input. VERIFICATION GAP: The description says 'when combined with the companion advisory' but no companion CVE is linked in provided references - actual exploitability may depend on chaining with an RCE or prompt injection vulnerability not detailed here. |
| Exploit ScenarioDerived | Attacker with local access to a JunoClaw host (e.g., via compromised SSH key, container escape, or malicious agent code uploaded through another vulnerability) crafts command arguments that bypass the substring blocklist. Example: the blocklist checks for 'rm -rf /' but 'rm ${HOME:0:1} -rf' or 'r''m -rf /' with quoting evades substring match while achieving same effect when expanded by sh -c. Combined with the companion advisory (likely prompt injection or RCE enabling untrusted input to reach shell plugin), attacker achieves arbitrary command execution as the JunoClaw process user. No public POC identified but command injection blocklist bypasses are well-documented in offensive security literature. Exploitation yields full system compromise given CVSS C:H/I:H/A:H impact. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 12, 2026
Command injection in JunoClaw's plugin-shell allowed adversarial argument construction to bypass the substring-based blocklist and achieve unauthorized command execution on the host when the unsafe-shell feature was enabled. Attackers could craft commands with special tokens or argument patterns to evade blocklist checks that scanned raw command strings instead of parsed first tokens. The vulnerability required local access but no authentication or user interaction (CVSS AV:L/AC:L/PR:N/UI:N) with high impact across confidentiality, integrity, and availability. No public exploit code or CISA KEV listing identified at time of analysis. Fixed in version 0.x.y-security-1 by replacing the blocklist with a strict allowlist on parsed command tokens and removing shell wrapper metacharacter expansion.
RemediationAI
Upgrade to JunoClaw version 0.x.y-security-1 or later, confirmed patched in commit 2bc54f6 (https://github.com/Dragonmonk111/junoclaw/commit/2bc54f6). The fix replaces substring blocklist with strict allowlist on parsed first tokens, removes shell wrapper metacharacter expansion (sh -c / cmd /C), and disables unsafe-shell feature by default. For operators who explicitly need shell execution capabilities in AI agents, the new version requires three independent opt-ins: enable unsafe-shell Cargo feature at compile time, set sandbox_mode to false at runtime, and populate allowed_commands allowlist (defaults to empty - fail-closed). CRITICAL: The default allowed_commands list that previously included python, python3, echo, ls, dir, pwd, cat, type was removed - operators must explicitly configure permitted commands. If upgrade is not immediately feasible: (1) Disable unsafe-shell feature at compile time by removing it from Cargo.toml feature flags, which removes execution code paths from binary entirely. (2) If feature already compiled in, set sandbox_mode to true at runtime via configuration to refuse all execution requests (runtime kill-switch). (3) Review AI agent input sources for untrusted data that could influence shell commands. TRADE-OFF: Disabling shell capabilities may break agentic workflows that rely on Python script execution or system command tools - test in non-production first. If mitigations cannot be applied, restrict local access to JunoClaw hosts (e.g., network segmentation, least-privilege IAM) and monitor process execution logs for unexpected command patterns.
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
JunoClaw is an agentic AI platform built on Juno Network. The vulnerable plugin-shell component provided shell and Python execution capabilities for AI agents. CWE-78 (OS Command Injection) resulted from applying a substring-based blocklist (BLOCKED_PATTERNS array checking for 'rm -rf /', 'shutdown', etc.) to raw command strings before execution. The commit diff shows the blocklist was removed entirely and replaced with a parsed-token allowlist. The fix introduced shell-words crate for proper command parsing (splitting on shell metacharacters), feature-gating via unsafe-shell Cargo feature (disabled by default), and a runtime sandbox_mode kill-switch. Pre-patch, commands passed through sh -c or cmd /C wrappers that expanded metacharacters, enabling classic injection bypasses via argument quoting, variable expansion, and command substitution. CPE cpe:2.3:a:dragonmonk111:junoclaw:*:*:*:*:*:*:*:* indicates all versions prior to the security release were affected.
Know when Junoclaw 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
AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
DescriptionCVE.org
JunoClaw is an agentic AI platform built on Juno Network. Prior to 0.x.y-security-1, substring-based blocklist in plugin-shell's command-safety check could be bypassed by adversarial argument constructions, allowing unauthorized command execution on the host when combined with the companion advisory. Pre-patch, the check was applied to the raw command string rather than the parsed first token. This vulnerability is fixed in 0.x.y-security-1.
Executive ViewAI
JunoClaw plugin-shell versions prior to 0.x.y-security-1 contain a local command injection vulnerability that allows unauthenticated attackers to execute arbitrary commands on affected systems when the unsafe-shell feature is enabled, bypassing existing security controls through argument manipulation. Organizations using JunoClaw must immediately assess deployment scope and isolate or disable unsafe-shell instances, as the vulnerability affects confidentiality, integrity, and availability of host systems.
Until version 0.x.y-security-1 is available: (1) Disable unsafe-shell feature immediately on all systems where operationally feasible; (2) Restrict local access to JunoClaw plugin-shell interfaces through OS-level access controls (file permissions, user/group restrictions); (3) Implement host-based intrusion detection to monitor for suspicious command patterns; (4) Require code review of any commands passed to plugin-shell; (5) Isolate affected systems from sensitive network segments and production data; (6) Monitor logs for evidence of exploitation attempts targeting argument structure bypass patterns.
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.
JunoClaw agentic AI platform exposes BIP-39 wallet mnemonics in plaintext through LLM tool-call parameters, leaking cryp
Arbitrary file read in JunoClaw's MCP upload_wasm tool allows local attackers to exfiltrate any file accessible to the a
Command injection in JunoClaw agentic AI platform versions prior to 0.x.y-security-1 allows local attackers to execute a
Server-Side Request Forgery in JunoClaw's WAVS bridge allows remote attackers to exploit the computeDataVerify function,
EUVD-2026-29540
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB