Description
linuxfabrik-lib provides Python modules for database access, caching, shell execution, and API integrations, and Linuxfabrik Monitoring Plugins uses its shared testing helper across check plugins. Prior to linuxfabrik-lib 6.1.0 and Linuxfabrik Monitoring Plugins 7.0.0, lib.lftest.test() treated the first or second element of a --test CSV argument as a filesystem path and returned the file contents as simulated standard output or standard error without path confinement. The hidden but production-accessible --test argument was accepted by sudo-authorized plugins, so an attacker controlling the nagios or icinga account could use check-plugins/deb-updates/deb-updates with its default QUERY=1 to disclose every line of a root-readable file. Approximately 22 other plugins exposed filtered content or a root file existence and readability oracle through the same helper, while check-plugins/network-bonding/network-bonding and check-plugins/openstack-swift-stat/openstack-swift-stat had direct read paths that bypassed the helper. The library fix confines fixture reads to the invoking plugin's unit-test directory and refuses unsafe anchors, and the plugin fix routes the two bypasses through that helper. These issues are fixed in linuxfabrik-lib 6.1.0 and Linuxfabrik Monitoring Plugins 7.0.0.
Published: 2026-08-18
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in linuxfabrik‑lib's test helper, where a network‑deployable --test argument is parsed without path confinement. The helper returns the contents of whatever path is supplied, and when executed under a sudo‑whitelisted monitoring plugin this payload can be controlled by the user running the service. An attacker who can manipulate the nagios or icinga account can thus instruct the plugin to read arbitrary files that the root user can read, exposing secrets or configuration data. The flaw demonstrates a path traversal (CWE‑22) and a potential privilege escalation (CWE‑269).

Affected Systems

Affected components are Linuxfabrik lib (any version prior to 6.1.0) and Linuxfabrik Monitoring Plugins (any version prior to 7.0.0). A wide range of plugins—including deb‑updates, network‑bonding, and openstack‑swift‑stat—exposed either the test helper or direct read paths, allowing the same disclosure behavior. Version gaps cover many installations that rely on the default packaged releases before the patch.

Risk and Exploitability

The CVSS score of 5.5 reflects a moderate impact; the EPSS score is not reported, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires local access to the monitoring account and the ability to trigger a plugin that accepts the hidden --test option, so the risk is contextual. Organizations should therefore consider the local attack surface carefully and treat the issue as a low‑volume privilege escalation that can be mitigated by applying the available patch or tightening sudoers.

Generated by OpenCVE AI on August 19, 2026 at 09:14 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Linuxfabrik lib to version 6.1.0 or later.
  • Upgrade Linuxfabrik Monitoring Plugins to version 7.0.0 or later.
  • Restrict or remove the hidden --test argument from sudoers‑whitelisted plugins, ensuring that only explicitly allowed arguments are accepted.
  • Disable or remove any monitoring plugins that were not needed, especially those that expose direct file read paths.

Generated by OpenCVE AI on August 19, 2026 at 09:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-rh9c-rqvg-f7pr linuxfabrik-lib: Arbitrary root file read via live --test argument (lib.lftest) across sudoers-whitelisted plugins (LPE)
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

Tue, 18 Aug 2026 21:30: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 its shared testing helper across check plugins. Prior to linuxfabrik-lib 6.1.0 and Linuxfabrik Monitoring Plugins 7.0.0, lib.lftest.test() treated the first or second element of a --test CSV argument as a filesystem path and returned the file contents as simulated standard output or standard error without path confinement. The hidden but production-accessible --test argument was accepted by sudo-authorized plugins, so an attacker controlling the nagios or icinga account could use check-plugins/deb-updates/deb-updates with its default QUERY=1 to disclose every line of a root-readable file. Approximately 22 other plugins exposed filtered content or a root file existence and readability oracle through the same helper, while check-plugins/network-bonding/network-bonding and check-plugins/openstack-swift-stat/openstack-swift-stat had direct read paths that bypassed the helper. The library fix confines fixture reads to the invoking plugin's unit-test directory and refuses unsafe anchors, and the plugin fix routes the two bypasses through that helper. These issues are fixed in linuxfabrik-lib 6.1.0 and Linuxfabrik Monitoring Plugins 7.0.0.
Title linuxfabrik-lib: Arbitrary root file read via live --test argument (lib.lftest) across sudoers-whitelisted plugins (LPE)
Weaknesses CWE-22
CWE-269
References
Metrics cvssV3_1

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


Subscriptions

Linuxfabrik Lib Monitoring-plugins
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-19T17:09:41.147Z

Reserved: 2026-08-13T21:42:04.044Z

Link: CVE-2026-73974

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-18T22:17:33.840

Modified: 2026-08-19T17:21:01.393

Link: CVE-2026-73974

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T12:31:50Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

  • CWE-269

    Improper Privilege Management