RCE in Mjdm Majordomo

CVE-2026-27175

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.

Vulnerability class: Command Injection (OS Command Injection)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS 0.237, 97.8th percentile (last changed ); up from 0.078 30 days earlier. About EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-27175: rose from 0.078 to 0.237.

EPSS over last 30 days · oldest: 0.078 · newest: 0.237 · change: +0.158

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

Metasploit modules

References