Skip to main content

JunoClaw CVE-2026-43991

| EUVDEUVD-2026-29540 HIGH
OS Command Injection (CWE-78)
2026-05-12 GitHub_M
8.4
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Gain local access to JunoClaw host
  2. Delivery
    Inject crafted command with bypass arguments
  3. Exploit
    Trigger shell plugin execution
  4. Execution
    Evade substring blocklist via quoting/expansion
  5. Persist
    Execute arbitrary OS command
  6. Impact
    Achieve 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.0% exploitation probability (EPSS)

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

Alert me

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

junoclaw < v0.x.y-security-1

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

Vendor (GitHub_M) PRIMARY 8.4 HIGH
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

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 93% exploitable
Data Quality
6 sources
Confidence: High

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.0%
Patch available No
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
Small
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