# CVE-2026-27175: MajorDoMo Command Injection in rc/index.php via Race Condition

- Severity: Critical 9.2 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 23.7%, higher than 97% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-02-18T21:10:36.987Z
- Modified: 2026-11-08T14:01:37.827Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- sergejey MajorDoMo: up to *
- mjdm majordomo: no versions given

## Every score

- VulnCheck: CVSS:4.0 9.2 Critical `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`
- VulnCheck: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://chocapikk.com/posts/2026/majordomo-revisited/> (exploit, third-party-advisory)
- <https://github.com/sergejey/majordomo/pull/1177> (exploit, issue-tracking, patch)
- <https://www.vulncheck.com/advisories/majordomo-command-injection-in-rcindexphp-via-race-condition> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-27175](https://www.cve.org/CVERecord?id=CVE-2026-27175), CVE Terms of Use, modified 2026-11-08
- NVD: [CVE-2026-27175](https://nvd.nist.gov/vuln/detail/CVE-2026-27175), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-27175 · Whole record: https://cve.day/CVE-2026-27175.json · Rebuilt by cve.day 2026-11-25T22:59:14.027Z
