Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local unprivileged shell access
-
DeliverySpawn process with name crafted to mimic SAP HANA instance identifier
-
ExploitAwait scheduled mk_sap_hana plugin execution as root
-
ExecutionPlugin reads process list and extracts attacker-controlled identifier without sanitization
-
ImpactInjected shell payload executes as root
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires all of the following specific conditions simultaneously: (1) The mk_sap_hana Checkmk agent plugin must be installed and active on the target host. (2) The plugin must be configured with RUNAS=agent, causing it to execute as root - this is an explicit non-default operator choice. (3) No explicit SAP HANA database configuration must be present in the plugin configuration, forcing the plugin to fall back to auto-discovery via the OS process list. (4) The attacker must have local unprivileged shell access sufficient to spawn a process on the monitored host. Limiting factors: AV:L requires physical or authenticated local access (no remote unauthenticated exploitation path); the flaw is entirely absent in Checkmk deployments not monitoring SAP HANA; explicit HANA DB configuration in the plugin fully eliminates the vulnerable code path regardless of patch status; and the plugin must be scheduled to run (i.e., an agent check cycle must occur) after the malicious process is spawned. |
| Impact | The CVSS 4.0 score of 5.2 (Medium) accurately reflects the constrained real-world risk. The AT:P (Attack Requirements: Present) metric is the key moderating factor: exploitation requires a specific, non-default confluence of conditions - the mk_sap_hana plugin must be active, running as root via RUNAS=agent, and the instance must lack an explicit SAP HANA database configuration. These are not universal defaults; they apply specifically to Checkmk deployments that monitor SAP HANA environments without locking down plugin configuration. The subsequent-system impact metrics (SC:H/SI:H/SA:H) confirm that successful exploitation yields full root compromise of the monitored host. No EPSS data was provided, no POC is publicly available, and no CISA KEV listing exists, indicating no confirmed active exploitation. The real priority signal is environmental: organisations running Checkmk in SAP HANA monitoring roles with RUNAS=agent enabled should treat this as high priority; all others face negligible exposure. The CVSS 4.0 vector appropriately separates the low initial vulnerable-system impact (VC:L/VI:L) from the devastating subsequent-system impact (SC:H/SI:H/SA:H), reflecting the privilege-boundary crossing that defines this flaw. |
| Exploit ScenarioDerived | A local attacker with unprivileged shell access on a Checkmk monitoring server starts a background process whose name is crafted to embed shell metacharacters or a secondary command within what appears to be a SAP HANA instance identifier (e.g., a process named to mimic a HANA SID containing a command substitution). When the mk_sap_hana plugin next executes its scheduled check as root, it reads the process list, extracts the attacker-controlled string as a legitimate instance identifier, and passes it unsanitized into a shell command - executing the injected payload with root privileges. No public proof-of-concept has been identified, but the attack is straightforward for anyone with knowledge of how the plugin parses process names. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 14, 2026
Privilege escalation in Checkmk's mk_sap_hana agent plugin allows a local unprivileged user to execute arbitrary commands as root by planting a process whose name mimics a SAP HANA instance. The plugin, when running as root under the RUNAS=agent configuration and lacking explicit database configuration, blindly reads the OS process list to derive SAP HANA instance identifiers and injects them unsanitized into a shell command executed with root privileges - a textbook CWE-78 OS command injection. No public exploit code or CISA KEV listing exists at time of analysis, but the attack prerequisites are achievable on any misconfigured Checkmk deployment that monitors SAP environments.
RemediationAI
Upgrade to a patched release immediately: Checkmk 2.5.0p9, 2.4.0p34, or 2.3.0p49 as applicable, per the vendor advisory at https://checkmk.com/werk/20104. Version 2.2.0 is End-of-Life and will not receive a patch; users on 2.2.0 must upgrade to a supported branch. If an immediate upgrade is not possible, the specific compensating controls are: first, add an explicit SAP HANA database configuration to the mk_sap_hana plugin - this eliminates the process-list auto-discovery code path that contains the injection flaw, though it requires knowing the actual HANA instance details in advance. Second, disable the RUNAS=agent setting for the mk_sap_hana plugin, which prevents the plugin from running as root and removes the privilege escalation vector at the cost of losing root-level SAP HANA metrics. Third, restrict local shell access on Checkmk monitoring hosts to trusted operators only, raising the barrier for the local access prerequisite. All workarounds should be treated as temporary pending patch deployment.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Checkmk (cpe:2.3:a:checkmk_gmbh:checkmk) is an enterprise IT monitoring platform. The mk_sap_hana agent plugin is designed to collect metrics from SAP HANA database instances. When no explicit database configuration is provided, the plugin falls back to auto-discovery by scanning the running process list for processes that resemble SAP HANA instances. It extracts instance identifiers (such as SID or instance number) from these process names and uses them to construct OS-level monitoring commands. Because these process-derived values are not sanitized before being embedded into a shell command (CWE-78: Improper Neutralization of Special Elements used in an OS Command), an attacker who can introduce a specially named process into the OS process table can inject arbitrary shell metacharacters or command sequences. The escalation requires the Checkmk agent to be configured with RUNAS=agent, which causes the plugin to execute as root - a privilege model commonly used in monitoring agents that need access to privileged system metrics.
Know when Checkmk gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:H/SI:H/SA:H
AC:H reflects the required confluence of RUNAS=agent configuration plus absent explicit DB config; S:C and full C/I/A reflect root-level privilege escalation across the privilege boundary.
Primary rating from Vendor (Checkmk).
CVSS VectorVendor: Checkmk
Lifecycle Timeline
1DescriptionCVE.org
Privilege escalation in Checkmk versions 2.5.0 before 2.5.0p9, 2.4.0 before 2.4.0p34, 2.3.0 before 2.3.0p49, and 2.2.0 (EOL) allows a local unprivileged user to execute arbitrary commands as root by starting a process crafted to look like a SAP HANA instance. Without an explicit database configuration, the mk_sap_hana agent plugin derives instance identifiers from the process list and uses them to build a command executed with elevated privileges (requires the plugin to run as root with RUNAS=agent).
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
Check_MK before 1.2.8p26 mishandles certain errors within the failed-login save feature because of a race condition, whi
The web management console of CheckMK Raw Edition (versions 1.5.0 to 1.6.0) allows a misconfiguration of the web-app Dok
The web management console of CheckMK Enterprise Edition (versions 1.5.0 to 2.0.0p9) does not properly sanitise the uplo
Improper restriction of excessive authentication attempts on some authentication methods in Checkmk before 2.3.0b5 (beta
The CheckMK management web console (versions 1.5.0 to 2.0.0) does not sanitise user input in various parameters of the W
Local privilege escalation in Checkmk allows site users with high privileges to escalate to root by manipulating site co
Bypass of two factor authentication in RestAPI in Checkmk < 2.3.0p16 and < 2.2.0p34 allows authenticated users to bypass
Insufficient authentication flow in Checkmk before 2.2.0p18, 2.1.0p38 and 2.0.0p39 allows attacker to use locked credent
A security vulnerability in autocomplete endpoint within the RestAPI of Checkmk (CVSS 8.8) that allows an authenticated
Privilege escalation in mk_tsm agent plugin in Checkmk before 2.2.0p18, 2.1.0p38 and 2.0.0p39 allows local user to escal
Privilege escalation in jar_signature agent plugin in Checkmk before 2.2.0p18, 2.1.0p38 and 2.0.0p39 allows local user t
Cross-Site request forgery in Checkmk < 2.3.0p8, < 2.2.0p29, < 2.1.0p45, and <= 2.0.0p39 (EOL) could lead to 1-click com
EUVD-2026-43652
GHSA-92pj-jr25-ww3p
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB