Black Friday60% off BLACKFRIDAY2026
Platform
PlansPartners
Resources
ToolsBlogDocs
Sign Up →
CVE

CVE-2026-27175

9.2
CVSScritical
Exploitable remotely over the internet · no authentication required.
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.

Attack Vector
Network
Privileges Req.
None
User Interaction
None
majordomo
Updated Nov 17, 2026View on NVD →
S4E scanner

MajorDoMo - OS Command Injection via Race Condition

MajorDoMo (Major Domestic Module) is vulnerable to unauthenticated OS command injection via rc/index.php. The $param variable is interpolated into a command string within double quotes without escapeshellarg() sanitization, and the cycle_execs.php worker executes the queued command via exec() without sanitization. An attacker triggers cycle_execs.php to start the polling worker, then injects a malicious command via the rc endpoint. Detection requires the cycle_execs.php worker to be running, which is the default state for deployed MajorDoMo instances. References: https://nvd.nist.gov/vuln/detail/CVE-2026-27175 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 Remediation: Apply the upstream fix (MajorDoMo PR #1177, which adds escapeshellarg() sanitization) and update to the latest revision, and restrict network access to the rc endpoint.

url

CVE history: majordomo

Predict next CVE date with AI

Monitor this CVE on your assets

S4E maps published CVEs to scanners and forecasts the next disclosure window for your stack.

Create a free account →