{
  "id": "CVE-2026-27175",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-27175",
  "published_at": "2026-02-18T21:10:36.987Z",
  "title": "MajorDoMo Command Injection in rc/index.php via Race Condition",
  "vendor": "sergejey",
  "product": "MajorDoMo",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-02-21T07:34:31Z",
    "first_seen_at": null,
    "days_after_publication": 2.4,
    "source": "metasploit",
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/majordomo_cmd_injection_rce.rb"
  },
  "poc_repo_count": 0,
  "exploit_count": 2,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-78",
  "cpes": [
    "cpe:2.3:a:mjdm:majordomo:-:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "sergejey",
        "product": "MajorDoMo",
        "ranges": [
          "\u003c= *"
        ],
        "fixed_in": null
      }
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/sergejey/majordomo/pull/1177"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/majordomo_cmd_injection_rce.rb",
      "source": "metasploit",
      "title": "Metasploit exploit: MajorDoMo Remote Command Injection via cycle_execs Race Condition (exploit/multi/http/majordomo_cmd_injection_rce)",
      "published_at": "2026-02-21T07:34:31Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-27175.yaml",
      "source": "nuclei",
      "title": "nuclei template: MajorDoMo - OS Command Injection via Race Condition",
      "published_at": "2026-11-12T05:59:22Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [],
  "rules": []
}
