The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-2025-59361

CVE-2025-59361: Chaos Mesh RCE Vulnerability

CVE-2025-59361 is a remote code execution flaw in Chaos Mesh that allows unauthenticated attackers to execute arbitrary commands across the cluster. This article covers the technical details, affected versions, and mitigation.

Published: March 11, 2026

CVE-2025-59361 Overview

CVE-2025-59361 is a critical OS command injection vulnerability affecting the cleanIptables mutation function in Chaos Controller Manager, a component of the Chaos Mesh chaos engineering platform for Kubernetes. The vulnerability allows attackers to inject arbitrary operating system commands through the vulnerable mutation handler. When chained with CVE-2025-59358, this vulnerability enables unauthenticated in-cluster attackers to achieve remote code execution across the entire Kubernetes cluster, potentially leading to complete cluster takeover.

Critical Impact

Unauthenticated attackers within the cluster network can exploit this command injection vulnerability to execute arbitrary code on cluster nodes, potentially compromising the entire Kubernetes infrastructure and all workloads running within it.

Affected Products

  • Chaos Mesh (chaos-mesh:chaos_mesh)
  • Chaos Controller Manager component
  • Kubernetes clusters running vulnerable Chaos Mesh installations

Discovery Timeline

  • 2025-09-15 - CVE-2025-59361 published to NVD
  • 2025-10-14 - Last updated in NVD database

Technical Details for CVE-2025-59361

Vulnerability Analysis

This vulnerability is classified as CWE-78 (Improper Neutralization of Special Elements used in an OS Command), commonly known as OS Command Injection. The cleanIptables mutation in Chaos Controller Manager fails to properly sanitize user-controlled input before incorporating it into operating system commands. This architectural flaw allows attackers to inject malicious command sequences that are executed with the privileges of the Chaos Controller Manager process.

The critical nature of this vulnerability stems from its position within the Kubernetes cluster architecture. Chaos Controller Manager typically runs with elevated privileges to perform chaos engineering operations, meaning successful exploitation grants attackers significant access to cluster resources and the underlying infrastructure.

Root Cause

The root cause is insufficient input validation and sanitization in the cleanIptables mutation handler. User-supplied data is passed directly to shell command execution without proper escaping or validation of special characters. This allows attackers to break out of the intended command context and execute arbitrary commands by injecting shell metacharacters such as semicolons, backticks, or command substitution sequences.

Attack Vector

The attack vector is network-based and requires no user interaction or authentication when exploited in conjunction with CVE-2025-59358. An attacker with network access to the Kubernetes cluster can craft malicious requests targeting the vulnerable cleanIptables mutation endpoint. The injected commands execute in the context of the Chaos Controller Manager, which typically has broad permissions within the cluster.

The attack chain involves:

  1. Leveraging CVE-2025-59358 to bypass authentication controls
  2. Sending a crafted request to the cleanIptables mutation with malicious payload
  3. The payload breaks out of the intended iptables command context
  4. Arbitrary OS commands execute with Chaos Controller Manager privileges
  5. Attackers can then pivot to other cluster nodes or escalate privileges

For detailed technical analysis and exploitation mechanics, refer to the JFrog security research blog documenting these Chaos Mesh vulnerabilities.

Detection Methods for CVE-2025-59361

Indicators of Compromise

  • Unusual process spawning from Chaos Controller Manager pods
  • Unexpected network connections originating from Chaos Mesh components
  • Suspicious iptables-related log entries containing shell metacharacters or encoded commands
  • Anomalous file system modifications within Chaos Controller Manager containers

Detection Strategies

  • Monitor Kubernetes audit logs for requests to Chaos Mesh webhook endpoints containing suspicious payloads
  • Implement runtime security monitoring to detect command injection patterns in container processes
  • Deploy network policy monitoring to identify lateral movement from Chaos Mesh pods
  • Use Falco or similar runtime security tools to alert on unexpected shell executions within Chaos Mesh containers

Monitoring Recommendations

  • Enable verbose logging for Chaos Controller Manager and forward logs to a SIEM platform
  • Configure alerts for any shell command execution within Chaos Mesh pods that deviate from normal operation
  • Monitor for reconnaissance activities such as environment enumeration or credential harvesting from cluster resources

How to Mitigate CVE-2025-59361

Immediate Actions Required

  • Review the GitHub Pull Request #4702 for patch details and apply the fix immediately
  • Audit Kubernetes clusters for Chaos Mesh installations and identify vulnerable versions
  • Implement network policies to restrict access to Chaos Controller Manager endpoints from untrusted sources
  • Consider temporarily disabling Chaos Mesh if patching is not immediately possible

Patch Information

The Chaos Mesh maintainers have addressed this vulnerability through input sanitization improvements in the cleanIptables mutation handler. Organizations should update to the patched version as referenced in GitHub Pull Request #4702. The fix implements proper input validation and command argument handling to prevent shell metacharacter injection.

Workarounds

  • Implement Kubernetes NetworkPolicies to restrict network access to Chaos Controller Manager pods to only trusted namespaces and services
  • Deploy admission controllers to validate and reject suspicious payloads targeting Chaos Mesh webhooks
  • Enable Pod Security Standards to limit the capabilities of Chaos Mesh components where operationally feasible
  • Isolate Chaos Mesh to dedicated namespaces with minimal cluster-wide permissions until patching is complete
bash
# Example NetworkPolicy to restrict Chaos Controller Manager access
kubectl apply -f - <<EOF
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  name: chaos-controller-restrict
  namespace: chaos-mesh
spec:
  podSelector:
    matchLabels:
      app.kubernetes.io/component: controller-manager
  policyTypes:
  - Ingress
  ingress:
  - from:
    - namespaceSelector:
        matchLabels:
          chaos-mesh-trusted: "true"
EOF

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechChaos Mesh

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.66%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/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 Pull Request

  • JFrog Blog on Chaos Mesh Vulnerabilities
  • Related CVEs
  • CVE-2025-59360: Chaos Mesh RCE Vulnerability

  • CVE-2025-59359: Chaos Mesh RCE Vulnerability

  • CVE-2025-59358: Chaos Mesh DOS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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