Description
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).
Published: 2026-07-14
Score: 5.2 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A crafted sapstartsrv process name fools the mk_sap_hana agent plugin in Checkmk into believing it is monitoring a SAP HANA instance. Since the plugin runs with elevated privileges (RUNAS=agent) and builds a command based on process identifiers, an attacker can supply a malicious process name that causes the plugin to execute arbitrary shell commands as root. This results in a local privilege escalation that allows an unprivileged user to gain full control of the host.

Affected Systems

The vulnerability exists in Checkmk products from Checkmk GmbH. Affected releases include version 2.5.0 through 2.5.0p8, 2.4.0 through 2.4.0p33, 2.3.0 through 2.3.0p48, and the end‑of‑life 2.2.0. Any installation of these releases without a patched mk_sap_hana plugin is susceptible. The vendor explicitly notes that the issue fixed in 2.5.0p9, 2.4.0p34, and 2.3.0p49.

Risk and Exploitability

The CVSS score of 5.2 indicates moderate severity, but the EPSS score is below 1%, suggesting a low probability of exploitation at this time. The vulnerability is not listed in the CISA KEV catalog. Attack feasibility requires a local, non‑privileged account and the presence of the mk_sap_hana plugin running with RUNAS=agent. An attacker can create a benign‑looking sapstartsrv process that contains a malicious command sequence, triggering the vulnerable logic and achieving root execution.

Generated by OpenCVE AI on July 31, 2026 at 10:35 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Checkmk to 2.5.0p9 or later, 2.4.0p34 or later, or 2.3.0p49 or later to apply the mk_sap_hana patch.
  • If an upgrade is not immediately possible, disable or uninstall the mk_sap_hana agent plugin, ensuring it only accepts names that match the expected sapstartsrv format and rejects any that contain shell metacharacters; a temporary compliance measure can mitigate the risk until a patch is applied.
  • Remove or modify the RUNAS=agent setting in the mk_sap_hana plugin configuration so that it does not run with root privileges, if operationally acceptable.

Generated by OpenCVE AI on July 31, 2026 at 10:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

References
History

Wed, 29 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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

ssvc

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


Tue, 14 Jul 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 14 Jul 2026 10:00:00 +0000

Type Values Removed Values Added
Description 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).
Title mk_sap_hana: Privilege escalation via crafted sapstartsrv process name
First Time appeared Checkmk
Checkmk checkmk
Weaknesses CWE-78
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:L/VI:L/VA:N/SC:H/SI:H/SA:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: Checkmk

Published:

Updated: 2026-07-29T19:26:45.645Z

Reserved: 2026-07-06T11:50:44.392Z

Link: CVE-2026-14852

cve-icon Vulnrichment

Updated: 2026-07-14T12:14:30.619Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T10:45:04Z

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')