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-2026-27175

CVE-2026-27175: MajorDoMo OS Command Injection RCE Flaw

CVE-2026-27175 is an unauthenticated OS command injection vulnerability in MajorDoMo that allows remote code execution via race condition exploitation. This article covers technical details, attack vectors, and mitigations.

Published: February 20, 2026

CVE-2026-27175 Overview

MajorDoMo (aka Major Domestic Module), a popular open-source home automation platform, contains an unauthenticated OS command injection vulnerability in the rc/index.php endpoint. The vulnerability allows remote attackers to execute arbitrary system commands by exploiting a race condition between the command queue system and a polling worker script.

The attack exploits improper input sanitization where the $param variable from user input is interpolated into a command string within double quotes without being sanitized via escapeshellarg(). This command is then inserted into a database queue by the safe_exec() function, which performs no sanitization. The cycle_execs.php script, accessible without authentication, retrieves these queued commands and passes them directly to PHP's exec() function.

Critical Impact

Unauthenticated remote attackers can achieve complete system compromise by injecting malicious shell commands that execute within approximately one second, potentially gaining full control over the home automation system and the underlying server.

Affected Products

  • MajorDoMo (Major Domestic Module) - versions prior to security patch
  • Home automation deployments running vulnerable MajorDoMo instances
  • Self-hosted MajorDoMo installations with publicly accessible rc/index.php and cycle_execs.php endpoints

Discovery Timeline

  • 2026-02-18 - CVE CVE-2026-27175 published to NVD
  • 2026-02-19 - Last updated in NVD database

Technical Details for CVE-2026-27175

Vulnerability Analysis

This command injection vulnerability (CWE-78) exploits a dangerous combination of missing input validation and a race condition in MajorDoMo's command execution architecture. The vulnerability is network-accessible and requires no authentication or user interaction, making it trivially exploitable by remote attackers.

The core issue stems from the application's failure to sanitize user-supplied input before incorporating it into shell commands. When user input containing the $param variable reaches the rc/index.php endpoint, it is directly interpolated into a command string enclosed in double quotes. In shell environments, double quotes allow for variable expansion and command substitution, meaning shell metacharacters like backticks, $(...), and semicolons will be interpreted and executed.

Root Cause

The root cause is twofold: First, the rc/index.php endpoint fails to apply escapeshellarg() or equivalent sanitization to user-supplied input before constructing shell commands. Second, the safe_exec() function, despite its misleading name, performs no actual security validation and merely queues commands for later execution. The cycle_execs.php script then blindly executes these queued commands via PHP's exec() function without any security checks.

This design creates a dangerous trust relationship between components that should never trust user-supplied data. The use of double quotes around the interpolated variable is particularly problematic, as shell metacharacters remain active within double-quoted strings.

Attack Vector

The attack is network-based and exploits a race condition in the command execution workflow. An attacker first triggers the cycle_execs.php script, which purges the existing command queue and enters a polling loop waiting for new commands. While this worker is actively polling, the attacker sends a malicious request to the rc/index.php endpoint containing shell metacharacters embedded in the payload.

Because the command is inserted into the database queue and the worker is already polling, the malicious command is retrieved and executed almost immediately—typically within one second. The shell metacharacters expand inside the double-quoted command string, enabling arbitrary command execution with the privileges of the web server process.

The vulnerability mechanism involves user input being directly interpolated into shell commands within double quotes, bypassing the intended security of the safe_exec() function. For detailed technical analysis and proof-of-concept information, see the Chocapikk Blog Post and the Vulncheck Security Advisory.

Detection Methods for CVE-2026-27175

Indicators of Compromise

  • Unusual HTTP requests to rc/index.php or cycle_execs.php containing shell metacharacters such as backticks, $(...), semicolons, or pipe characters
  • Unexpected process spawning from the web server process (e.g., www-data or apache)
  • Database entries in the command queue containing shell injection patterns
  • Web server access logs showing sequential requests to cycle_execs.php followed immediately by requests to rc/index.php

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block requests containing shell metacharacters in parameters sent to the rc/ endpoint
  • Monitor for anomalous process creation from PHP or web server parent processes, particularly reverse shells or reconnaissance commands
  • Enable database query logging to identify suspicious command insertions into the execution queue
  • Deploy endpoint detection to identify post-exploitation activities such as persistence mechanisms or lateral movement

Monitoring Recommendations

  • Configure alerting for any access to cycle_execs.php from external IP addresses, as this endpoint should typically only be accessed internally
  • Implement log correlation to detect the attack pattern of sequential requests to cycle_execs.php and rc/index.php within a short time window
  • Monitor outbound network connections from the MajorDoMo server for potential reverse shell callbacks or data exfiltration

How to Mitigate CVE-2026-27175

Immediate Actions Required

  • Restrict network access to the MajorDoMo installation, particularly the rc/index.php and cycle_execs.php endpoints
  • Implement authentication requirements for all administrative and execution endpoints
  • Place the MajorDoMo server behind a reverse proxy with strict input validation rules
  • Review system logs for indicators of prior exploitation

Patch Information

A security fix is available via the GitHub Pull Request #1177. Organizations should review and apply this patch immediately. The fix should properly sanitize user input using escapeshellarg() before incorporating it into shell commands and prevent direct execution of database-queued commands without validation.

For additional context, see the Vulncheck Security Advisory.

Workarounds

  • Implement firewall rules to block external access to rc/index.php and cycle_execs.php, restricting access to trusted internal IP addresses only
  • Configure web server authentication (HTTP Basic Auth or similar) for the vulnerable endpoints as a temporary measure
  • If feasible, disable the cycle_execs.php script entirely until the patch can be applied
  • Consider deploying the application in an isolated network segment or Docker container with restricted capabilities
bash
# Example: Restrict access to vulnerable endpoints via Apache configuration
<Location "/rc/">
    Require ip 127.0.0.1
    Require ip 192.168.1.0/24
</Location>

<Location "/cycle_execs.php">
    Require ip 127.0.0.1
</Location>

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechMajordomo

  • SeverityCRITICAL

  • CVSS Score9.2

  • EPSS Probability0.49%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-78
  • Technical References
  • Chocapikk Blog Post

  • GitHub Pull Request

  • Vulncheck Security Advisory
  • Related CVEs
  • CVE-2026-27180: MajorDoMo RCE via Update URL Poisoning

  • CVE-2026-27174: MajorDoMo RCE Vulnerability

  • CVE-2026-27179: MajorDoMo SQL Injection Vulnerability

  • CVE-2026-27181: MajorDoMo Auth Bypass 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