CVE-2026-14852

mk_sap_hana: Privilege escalation via crafted sapstartsrv process name

Published Jul 14, 2026 CVSS 4.0 · 5.2 Medium EPSS < 1% KEV · Not listed
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).

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
References
History
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'}

Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-78

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

Sources

Status
PUBLISHED
Assigner
Checkmk
Published
Updated
Jul 29, 2026, 7:26 PM
Reserved
Jul 6, 2026, 11:50 AM
Status
Deferred
Published
Jul 14, 2026, 10:16 AM
Modified
Oct 24, 2026, 9:10 PM