Description
linuxfabrik-lib provides Python modules for database access, caching, shell execution, and API integrations, and Linuxfabrik Monitoring Plugins uses those modules to run external monitoring commands. From the earliest affected releases until linuxfabrik-lib 5.0.0 and Linuxfabrik Monitoring Plugins 6.0.0, check plugins embedded user-controlled values in command strings passed to lib.shell.shell_exec(), which split strings at pipe characters and executed the resulting commands. In check-plugins/restic-check/restic-check, the --repo parameter could inject a pipe-delimited command into a constructed restic invocation, and sudo-authorized execution allowed a compromised nagios or icinga account to run that command as root. The shared library also accepted command strings and a shell parameter, while numerous plugins constructed external commands from attacker-influenced arguments. The fixes require argv lists, always use shell=False, remove pipe splitting, and reject option-like positional values through lib.shell.safe_cli_value(). These issues are fixed in linuxfabrik-lib 5.0.0 and Linuxfabrik Monitoring Plugins 6.0.0.
Published: 2026-08-18
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability stems from the library’s handling of user-controlled strings passed to the shell execution function. When these strings contain pipe characters, the command is split and each segment is executed, allowing an attacker to inject arbitrary commands. In monitoring plugins, user-supplied arguments such as the --repo option constructed a restic command that could embed a malicious pipe-delimited payload. If the monitoring process runs with elevated privileges, the injected command is executed as root, giving full system control to the attacker.

Affected Systems

Applications built with Linuxfabrik lib or its monitoring plugins are affected. Versions of linuxfabrik-lib prior to 5.0.0 and Linuxfabrik Monitoring Plugins prior to 6.0.0 contain the flaw. Within these releases, any plugin that forwards user input to lib.shell.shell_exec() without sanitization is vulnerable.

Risk and Exploitability

The CVSS score of 7.8 indicates a high severity impact. The EPSS score is unavailable, but the lack of a KEV listing does not diminish the risk, as exploitation requires only a compromised monitoring account with elevated privileges. Attackers could exploit the flaw by supplying a crafted input to a vulnerable plugin, gaining root privileges on the host.

Generated by OpenCVE AI on August 21, 2026 at 16:16 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade linuxfabrik-lib to version 5.0.0 or later, which replaces string command construction with argv lists and disables shell splitting.
  • Upgrade Linuxfabrik Monitoring Plugins to version 6.0.0 or later, which ensures command strings are passed safely and validates parameters with lib.shell.safe_cli_value().
  • If an upgrade cannot be performed immediately, disable or remove any plugins that allow untrusted user input to be passed to shell_exec, and audit existing configurations for possible insecure parameter usage.

Generated by OpenCVE AI on August 21, 2026 at 16:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-798h-hpph-m24j Linuxfabrik Monitoring Plugins have local privilege escalation using embedded command
History

Fri, 21 Aug 2026 13:00:00 +0000

Type Values Removed Values Added
First Time appeared Linuxfabrik
Linuxfabrik lib
Linuxfabrik monitoring-plugins
Vendors & Products Linuxfabrik
Linuxfabrik lib
Linuxfabrik monitoring-plugins

Thu, 20 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 18 Aug 2026 21:15:00 +0000

Type Values Removed Values Added
Description linuxfabrik-lib provides Python modules for database access, caching, shell execution, and API integrations, and Linuxfabrik Monitoring Plugins uses those modules to run external monitoring commands. From the earliest affected releases until linuxfabrik-lib 5.0.0 and Linuxfabrik Monitoring Plugins 6.0.0, check plugins embedded user-controlled values in command strings passed to lib.shell.shell_exec(), which split strings at pipe characters and executed the resulting commands. In check-plugins/restic-check/restic-check, the --repo parameter could inject a pipe-delimited command into a constructed restic invocation, and sudo-authorized execution allowed a compromised nagios or icinga account to run that command as root. The shared library also accepted command strings and a shell parameter, while numerous plugins constructed external commands from attacker-influenced arguments. The fixes require argv lists, always use shell=False, remove pipe splitting, and reject option-like positional values through lib.shell.safe_cli_value(). These issues are fixed in linuxfabrik-lib 5.0.0 and Linuxfabrik Monitoring Plugins 6.0.0.
Title linuxfabrik-lib: Local privilege escalation using embedded command
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Linuxfabrik Lib Monitoring-plugins
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-20T18:26:01.989Z

Reserved: 2026-06-16T21:48:43.126Z

Link: CVE-2026-55426

cve-icon Vulnrichment

Updated: 2026-08-20T18:25:59.288Z

cve-icon NVD

Status : Received

Published: 2026-08-18T21:16:36.460

Modified: 2026-08-20T19:16:55.717

Link: CVE-2026-55426

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T16:30:06Z

Weaknesses
  • CWE-78

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