---
id: CVE-2026-27181
title: MajorDoMo Unauthenticated Module Uninstall via Market Endpoint
summary: >-
  MajorDoMo (aka Major Domestic Module) allows unauthenticated arbitrary module
  uninstallation through the market module. The market module's admin() method
  reads gr('mode') from $_REQUEST and assigns it to $this->mode at the start of
  exec…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cvssSource: cna
cwe:
  - CWE-862
vendor: sergejey
product: MajorDoMo
affected:
  - MajorDoMo <= *
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-02-18T21:25:23.683703Z'
exploitAvailable: true
published: '2026-02-18'
updated: '2026-11-08'
sourceUpdated: '2026-11-08T14:01:43.749Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-27181'
references:
  - url: 'https://chocapikk.com/posts/2026/majordomo-revisited/'
    label: 'MajorDoMo Revisited: What I Missed in 2023'
  - url: 'https://github.com/sergejey/majordomo/pull/1177'
    label: 'Fix PR: sergejey/majordomo#1177'
  - url: >-
      https://www.vulncheck.com/advisories/majordomo-unauthenticated-module-uninstall-via-market-endpoint
    label: >-
      VulnCheck Advisory: MajorDoMo Unauthenticated Module Uninstall via Market
      Endpoint
tags:
  - cve.org
  - exploit-available
epss: 0.00797
epssPercentile: 0.56747
ingestedAt: '2026-11-08T14:51:22.465Z'
---

## Overview

MajorDoMo (aka Major Domestic Module) allows unauthenticated arbitrary module uninstallation through the market module. The market module's admin() method reads gr('mode') from $_REQUEST and assigns it to $this->mode at the start of execution, making all mode-gated code paths reachable without authentication via the /objects/?module=market endpoint. The uninstall mode handler calls uninstallPlugin(), which deletes module records from the database, executes the module's uninstall() method via eval(), recursively deletes the module's directory and template files using removeTree(), and removes associated cycle scripts. An attacker can iterate through module names and wipe the entire MajorDoMo installation with a series of unauthenticated GET requests.

## Affected

- `MajorDoMo <= *`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
