Description
Privilege escalation in the mk_mysql agent plugin on Windows in Checkmk <2.4.0p29, <2.3.0p47, and 2.2.0 (EOL) allows a local unprivileged user able to create a Windows service whose name matches 'MySQL' or 'MariaDB' (or with write access to a binary referenced by such a service) to execute arbitrary code in the context of the Checkmk agent service, which typically runs as SYSTEM.
Published: 2026-05-13
Score: 5.2 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A local unprivileged user can create or modify a Windows service whose name matches 'MySQL' or 'MariaDB', or otherwise gain write access to a binary referenced by such a service. The service runs under the Checkmk agent service, which typically executes with SYSTEM privileges. As a result, an attacker can run arbitrary code with full administrative rights, enabling malware installation, database compromise, or further lateral movement. The weakness maps to CWE-427, an untrusted search path flaw that allows malicious binaries to be loaded and executed.

Affected Systems

The affected product is Checkmk from Checkmk GmbH. Vulnerable releases include any Checkmk build before 2.4.0p29, before 2.3.0p47, and the EOL 2.2.0 version. These builds are listed in the input CPE data and are impacted by this flaw.

Risk and Exploitability

The CVSS score of 5.2 indicates moderate severity, and the EPSS score is not available. The vulnerability is not listed in CISA’s KEV catalog, suggesting no widely known exploits yet. Attack requires local user access with the ability to create or modify Windows services; thus the attack vector is local. Once achieved, the attacker gains full SYSTEM privileges and can execute arbitrary code on the host.

Generated by OpenCVE AI on May 13, 2026 at 10:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Checkmk to 2.4.0p29 or later.
  • Restrict local users from creating Windows services or writing to binaries used by the Checkmk agent (e.g., deny write and service creation rights for their accounts).
  • Disable or remove the mk_mysql agent plugin if an upgrade is not immediately possible to eliminate the vulnerable code path.

Generated by OpenCVE AI on May 13, 2026 at 10:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

References
History

Wed, 13 May 2026 12:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 13 May 2026 09:15:00 +0000

Type Values Removed Values Added
Description Privilege escalation in the mk_mysql agent plugin on Windows in Checkmk <2.4.0p29, <2.3.0p47, and 2.2.0 (EOL) allows a local unprivileged user able to create a Windows service whose name matches 'MySQL' or 'MariaDB' (or with write access to a binary referenced by such a service) to execute arbitrary code in the context of the Checkmk agent service, which typically runs as SYSTEM.
Title Privilege escalation via mk_mysql agent plugin on Windows
First Time appeared Checkmk
Checkmk checkmk
Weaknesses CWE-427
CPEs cpe:2.3:a:checkmk:checkmk:*:*:*:*:*:*:*:*
cpe:2.3:a:checkmk:checkmk:2.2.0:*:*:*:*:*:*:*
Vendors & Products Checkmk
Checkmk checkmk
References
Metrics cvssV4_0

{'score': 5.2, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: Checkmk

Published:

Updated: 2026-05-13T12:01:57.840Z

Reserved: 2024-09-18T11:38:53.583Z

Link: CVE-2024-47091

cve-icon Vulnrichment

Updated: 2026-05-13T12:01:52.314Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-05-13T10:16:14.460

Modified: 2026-05-13T15:57:03.607

Link: CVE-2024-47091

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-13T10:30:16Z

Weaknesses