CVE-2026-27175 MajorDoMo Command Injection in rc/index.php via Race Condition
- Published
- Updated
- Exploit status
- Public exploit available
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
- Technology
- PHP
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.
Upgrade path
2 packages: 0 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| mjdm majordomo | All versions | No fix listed | No fix yet |
| sergejey MajorDoMo | All versions | No fix listed | No fix yet |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| sergejey MajorDoMo | All versions | No fix listed |
| mjdm majordomo | All versions | No fix listed |
References
- MajorDoMo Revisited: What I Missed in 2023 exploit third-party-advisory
- Fix PR: sergejey/majordomo#1177 exploit issue-tracking patch
- VulnCheck Advisory: MajorDoMo Command Injection in rc/index.php via Race Condition third-party-advisory
- ENISA EUVD EUVD-2026-7930 third-party-advisory