CVE-2026-27175 MajorDoMo Command Injection in rc/index.php via Race Condition
Unauthenticated attackers can achieve remote code execution in MajorDoMo by exploiting a race condition in the command queue processing.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-27175?
CVE-2026-27175 is a critical command injection vulnerability in sergejey MajorDoMo, published on 18 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
MajorDoMo (aka Major Domestic Module) is vulnerable to unauthenticated OS command injection via rc/index.php. The $param variable from user input is interpolated into a command string within double quotes without sanitization via escapeshellarg(). The command is inserted into a database queue by safe_exec(), which performs no sanitization. The cycle_execs.php script, which is web-accessible without authentication, retrieves queued commands and passes them directly to exec(). An attacker can exploit a race condition by first triggering cycle_execs.php (which purges the queue and enters a polling loop), then injecting a malicious command via the rc endpoint while the worker is polling. The injected shell metacharacters expand inside double quotes, achieving remote code execution within one second.
Weakness: CWE-78
Which versions are affected by CVE-2026-27175?
It affects 1 product.
Products include Mjdm Majordomo.
How do I fix CVE-2026-27175?
No fix has been published for CVE-2026-27175 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2026-27175 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-27175 exists.
Public exploit code: 1 Metasploit module.
Other vulnerabilities in sergejey MajorDoMo
- CVE-2023-50917 Command injection in n/a
- CVE-2026-27174 MajorDoMo Unauthenticated Remote Code Execution via Admin Console Eval
- CVE-2026-27180 MajorDoMo Supply Chain Remote Code Execution via Update URL Poisoning
- CVE-2026-27179 MajorDoMo Unauthenticated SQL Injection in Commands Module
- CVE-2026-27181 MajorDoMo Unauthenticated Module Uninstall via Market Endpoint
Sources
Also known as GHSA-jmf5-x823-23g3.