What’s Vulnerable › Vulnerabilities
CVE-2026-27175: MajorDoMo Command Injection in rc/index.php via Race Condition
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 6.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-02-18 · updated 2026-06-17
- Weakness: CWE-78
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.
Affected products
- sergejey MajorDoMo: all versions
References
- https://chocapikk.com/posts/2026/majordomo-revisited/
- https://github.com/sergejey/majordomo/pull/1177
- https://www.vulncheck.com/advisories/majordomo-command-injection-in-rcindexphp-via-race-condition
Get alerted when CVE-2026-27175 or the next vulnerability affects your stack