A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-43991

CVE-2026-43991: JunoClaw Plugin-Shell RCE Vulnerability

CVE-2026-43991 is a remote code execution flaw in JunoClaw's plugin-shell that allows attackers to bypass command-safety blocklists through adversarial argument constructions. This post covers technical details, affected versions, and mitigation.

Published: May 17, 2026

CVE-2026-43991 Overview

CVE-2026-43991 affects JunoClaw, an agentic AI platform built on the Juno Network. The vulnerability resides in plugin-shell, where a substring-based blocklist enforced the command-safety check against the raw command string rather than the parsed first token. Adversarial argument constructions bypass this control, enabling unauthorized command execution on the host. The flaw is classified as OS Command Injection [CWE-78] and is fixed in release 0.x.y-security-1. Exploitation requires local access but no privileges or user interaction, yielding high impact to confidentiality, integrity, and availability.

Critical Impact

A local attacker can bypass the plugin-shell command safety filter and execute arbitrary commands on the host running the JunoClaw agent runtime.

Affected Products

  • JunoClaw agentic AI platform prior to 0.x.y-security-1
  • plugin-shell component within the JunoClaw runtime
  • junoclaw-runtime crate exposing shell execution paths

Discovery Timeline

  • 2026-05-12 - CVE-2026-43991 published to NVD
  • 2026-05-13 - Last updated in NVD database

Technical Details for CVE-2026-43991

Vulnerability Analysis

JunoClaw's plugin-shell component implemented a command-safety check using substring matching against a blocklist. The check operated on the raw, unparsed command string rather than on the first tokenized argument representing the executable. This design allows attackers to craft argument constructions that hide a disallowed binary from substring inspection while still reaching the shell for execution. The companion advisory referenced in the upstream notes compounds the issue by enabling reachable execution paths once the filter is bypassed.

Root Cause

The root cause is improper neutralization of special elements used in an OS command [CWE-78]. Because the safety check inspected the raw string, semantically equivalent but textually distinct invocations evaded the blocklist. A correct implementation requires parsing the command into argv tokens and validating the resolved executable against an allowlist, not a denylist of substrings.

Attack Vector

The attack vector is local. An adversary who can submit commands to the JunoClaw agent — for example, via plugin inputs, prompts routed to plugin-shell, or other runtime entry points — supplies a crafted command that evades substring matching. The runtime then dispatches the command to the shell, resulting in arbitrary command execution under the privileges of the JunoClaw process.

text
// Security patch: Cargo.lock dependency additions for plugin-shell
  "junoclaw-core",
  "serde",
  "serde_json",
+ "shell-words",
+ "tempfile",
  "tokio",
  "tracing",
 ]

Source: GitHub Commit 2bc54f6

The patch introduces the shell-words crate to parse commands into argv tokens before validation, replacing raw-string substring checks. The tempfile dependency supports safer scratch-file handling within the corrected execution paths.

toml
# crates/junoclaw-runtime/Cargo.toml — opt-in feature gate
 edition = "2021"
 description = "JunoClaw agent execution runtime"

+[features]
+default = []
+# Forwards `unsafe-shell` to plugin-shell. Off by default; enabling adds the
+# shell + Python execution code paths to the binary. See plugin-shell's
+# Cargo.toml and SECURITY.md for the full opt-in semantics.
+unsafe-shell = ["plugin-shell/unsafe-shell"]
+
 [dependencies]
 junoclaw-core = { path = "../junoclaw-core" }
 plugin-llm = { path = "../../plugins/plugin-llm" }

Source: GitHub Commit 2bc54f6

The fix also gates shell and Python execution behind a non-default unsafe-shell Cargo feature. Builds that omit the feature exclude the dangerous code paths entirely.

Detection Methods for CVE-2026-43991

Indicators of Compromise

  • Unexpected child processes spawned by the JunoClaw runtime or plugin-shell worker.
  • Shell invocations containing argument constructions that resolve to binaries outside any documented allowlist.
  • Outbound network connections, file writes, or credential access originating from the JunoClaw process tree.

Detection Strategies

  • Audit process ancestry for shells (/bin/sh, bash, cmd.exe) parented by JunoClaw or plugin-shell binaries.
  • Compare executed commands against the post-patch allowlist; flag any executable not on the list.
  • Hunt for usage of the unsafe-shell Cargo feature in deployed binaries via build provenance and SBOM data.

Monitoring Recommendations

  • Enable command-line argument logging on hosts running JunoClaw and forward to a centralized log store.
  • Alert on writes to /tmp or other scratch paths followed by execution from the JunoClaw process.
  • Track plugin input telemetry for commands containing shell metacharacters or chained operators.

How to Mitigate CVE-2026-43991

Immediate Actions Required

  • Upgrade JunoClaw to 0.x.y-security-1 or later on all hosts running the agent runtime.
  • Rebuild downstream binaries without the unsafe-shell Cargo feature unless explicitly required.
  • Inventory deployed JunoClaw versions and confirm none predate the security release.

Patch Information

The vendor released the fix in version 0.x.y-security-1. The patch replaces raw-string substring checks with shell-words tokenization and an allowlist-only validation model. It also relocates shell and Python execution behind the opt-in unsafe-shell Cargo feature. See the GitHub Security Advisory GHSA-fvq5-79h6-952c and the GitHub Commit 2bc54f6 for full details.

Workarounds

  • Disable or remove plugin-shell from JunoClaw deployments that do not require shell execution.
  • Build the runtime without the unsafe-shell feature to exclude shell and Python execution code paths.
  • Restrict who can submit prompts or plugin inputs to JunoClaw agents through network and identity controls.
bash
# Build JunoClaw runtime without the unsafe-shell feature
cargo build --release --no-default-features -p junoclaw-runtime

# Verify the installed version meets or exceeds the security release
junoclaw --version  # expect 0.x.y-security-1 or later

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechJunoclawn

  • SeverityHIGH

  • CVSS Score8.4

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-78
  • Technical References
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-fvq5-79h6-952c
  • Latest CVEs
  • CVE-2026-9813: FlowIntel SSRF Vulnerability

  • CVE-2026-4377: D-Link DWR-X1820 Auth Bypass Vulnerability

  • CVE-2026-47074: ex_aws_sns Auth Bypass Vulnerability

  • CVE-2026-46241: Linux Kernel Use-After-Free Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English