A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-47091

CVE-2024-47091: Checkmk Windows Agent Privilege Escalation

CVE-2024-47091 is a privilege escalation vulnerability in Checkmk's mk_mysql agent plugin on Windows that allows local attackers to gain SYSTEM privileges. This article covers technical details, affected versions, and mitigation.

Published: May 17, 2026

CVE-2024-47091 Overview

CVE-2024-47091 is a local privilege escalation vulnerability in the mk_mysql agent plugin shipped with Checkmk on Windows. The flaw affects Checkmk versions earlier than 2.4.0p29, earlier than 2.3.0p47, and the end-of-life 2.2.0 branch. A local unprivileged user who can create a Windows service whose name matches MySQL or MariaDB, or who has write access to a binary referenced by such a service, can execute arbitrary code in the context of the Checkmk agent service. The Checkmk agent typically runs as SYSTEM, granting the attacker full local control. The weakness is tracked under [CWE-427: Uncontrolled Search Path Element].

Critical Impact

Local users can elevate to SYSTEM privileges by abusing how the mk_mysql plugin resolves and invokes MySQL or MariaDB service binaries on Windows hosts running the Checkmk agent.

Affected Products

  • Checkmk versions earlier than 2.4.0p29
  • Checkmk versions earlier than 2.3.0p47
  • Checkmk 2.2.0 (End of Life)

Discovery Timeline

  • 2026-05-13 - CVE CVE-2024-47091 published to NVD
  • 2026-05-13 - Last updated in NVD database

Technical Details for CVE-2024-47091

Vulnerability Analysis

The mk_mysql agent plugin on Windows queries the local service control manager to discover MySQL and MariaDB instances, then invokes binaries associated with services whose names match the patterns MySQL or MariaDB. The plugin trusts the service registration and the binary path returned, executing them within the Checkmk agent process context. Because the Checkmk agent service runs as SYSTEM, any code invoked through this path inherits the highest local privilege level. A standard user who can register Windows services, or who can modify a binary referenced by an existing matching service, can hijack the execution flow. The behavior maps to [CWE-427] uncontrolled search path element, where trust in attacker-influenced service metadata leads to elevation.

Root Cause

The plugin enumerates services by name pattern and executes their associated binaries without validating the integrity, signature, or trust level of the resolved target. Service registration and binary write access decisions are governed by local Windows permissions that may permit non-administrative users in specific configurations. The plugin assumes only privileged software registers MySQL or MariaDB services, an assumption that breaks in shared or misconfigured environments.

Attack Vector

An attacker with local access registers a Windows service named to match MySQL or MariaDB, pointing its ImagePath to an attacker-controlled binary. Alternatively, the attacker overwrites a binary already referenced by such a service when filesystem permissions allow. On the next mk_mysql plugin invocation by the Checkmk agent, the malicious binary executes as SYSTEM. The attacker gains arbitrary code execution with the highest local privileges, enabling credential theft, persistence, and lateral movement.

No verified public exploit code is available. Refer to the Checkmk Werk 19198 advisory for vendor technical details.

Detection Methods for CVE-2024-47091

Indicators of Compromise

  • Creation of new Windows services with display or service names containing MySQL or MariaDB on hosts that do not legitimately run those database engines.
  • Modification of binaries referenced in the ImagePath registry value of existing MySQL or MariaDB services by non-administrative accounts.
  • Child processes spawned by the Checkmk agent service (check_mk_agent.exe) that do not match the expected plugin set.

Detection Strategies

  • Monitor Windows Event ID 7045 (service installed) and 4697 (service installation via Security log) for service names matching the MySQL or MariaDB patterns.
  • Audit registry writes to HKLM\SYSTEM\CurrentControlSet\Services\*\ImagePath where the service name matches the vulnerable patterns.
  • Correlate Checkmk agent plugin executions with the source binary path and verify the binary signature against expected MySQL or MariaDB vendor signatures.

Monitoring Recommendations

  • Establish a baseline of legitimate MySQL and MariaDB service installations across the fleet and alert on deviations.
  • Track file integrity on binaries referenced by MySQL or MariaDB services, flagging any write by non-administrative principals.
  • Review Checkmk agent plugin execution logs for unexpected binary paths and unusual process lineage from SYSTEM-context processes.

How to Mitigate CVE-2024-47091

Immediate Actions Required

  • Upgrade Checkmk to 2.4.0p29, 2.3.0p47, or a later patched release on all Windows hosts running the agent.
  • Decommission Checkmk 2.2.0 deployments because the branch has reached End of Life and will not receive a fix.
  • Audit Windows hosts for unauthorized services matching the MySQL or MariaDB name patterns and remove any that are not legitimate.

Patch Information

Checkmk has released fixed builds documented in Checkmk Werk 19198. Apply the patched agent package to every Windows host monitored by Checkmk. Verify the agent version after deployment using check_mk_agent.exe --version to confirm the upgrade took effect.

Workarounds

  • Disable the mk_mysql plugin on Windows hosts that do not run MySQL or MariaDB until the patched agent is deployed.
  • Restrict the ability to create or modify Windows services to administrative accounts only by reviewing the local SeCreateServicePrivilege assignment and service security descriptors.
  • Apply strict NTFS access control lists to MySQL and MariaDB binary directories so non-administrative users cannot overwrite referenced executables.
bash
# Configuration example: remove the mk_mysql plugin from a Windows Checkmk agent install
del "C:\ProgramData\checkmk\agent\plugins\mk_mysql.vbs"
del "C:\ProgramData\checkmk\agent\plugins\mk_mysql.ps1"
sc query CheckmkService
sc stop CheckmkService
sc start CheckmkService

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechCheckmk

  • SeverityMEDIUM

  • CVSS Score5.2

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-427
  • Technical References
  • Checkmk Patch Update
  • Related CVEs
  • CVE-2025-39666: Checkmk Privilege Escalation Vulnerability

  • CVE-2026-3103: Checkmk Privilege Escalation Vulnerability

  • CVE-2026-33456: Checkmk Livestatus Injection Vulnerability

  • CVE-2026-33457: Checkmk Livestatus Injection Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English