Description
Linuxfabrik Monitoring Plugins provides monitoring plugins for Icinga, Nagios, and related systems. Prior to version 7.0.0, check-plugins/logfile/logfile accepted a free-form --filename path and opened it as root when invoked through the shipped nagios or icinga sudoers allowlist, without confining the resolved path to /var/log. An attacker who controls the monitoring account can select a root-readable file such as /etc/shadow and use --warning-regex . while leaving SUPPRESS_OUTPUT false, causing each nonempty line to be collected in warn_matches and returned through lib.base.oao(). The vulnerable flow passes the expanded scan_path directly to open(), and neither real-path containment nor an allowlist protects the sink. The same fix also confines mysql-logfile and openvpn-client-list paths, allows only documented log roots, and resolves symlinks and parent-directory traversal before checking containment. This issue is fixed in version 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 flaw resides in the Linuxfabrik monitoring-plugins logfile checker, which accepts a free‑form --filename argument and opens the resulting file as root whenever the plugin is run through the shipped Nagios or Icinga sudoers allowlist. Because the resolved path is not confined to the intended log directory, an attacker who can control the monitoring account is able to specify any root‑readable file, such as /etc/shadow, and cause its contents to be returned as part of the plugin’s output. The vulnerability therefore allows read access to arbitrary files that belong to root, exposing highly sensitive data and potentially facilitating further compromise.

Affected Systems

Any installation of the Linuxfabrik monitoring-plugins package that predates version 7.0.0 is affected. The vulnerability is contained within the check-plugins/logfile/logfile script used by Nagios, Icinga and related monitoring frameworks. The issue is fixed in the 7.0.0 release by restricting log file paths, resolving symlinks, and enforcing an allowlist for known log directories.

Risk and Exploitability

The CVSS score of 5.5 indicates moderate severity, and no EPSS data are available. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires the ability to run the vulnerable plugin via the monitoring system’s authorized sudoers entry, implying that the attacker already has control over the monitoring account or can inject commands through that channel. Thus the risk is primarily local, relying on a state of elevated privilege granted by the monitoring framework, rather than remote exploitation.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the vendor patch to version 7.0.0 or later to address the CWE-22 path traversal flaw that allows reading arbitrary root files.
  • Verify the monitoring account’s sudoers configuration to prevent the CWE-269 privilege escalation via unconfined plugin execution.
  • Restrict file access by configuring the monitoring system to allow only documented log directories, mitigating both CWE-22 and CWE-269.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

Type Values Removed Values Added
Metrics ssvc

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


Wed, 19 Aug 2026 11:15:00 +0000

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

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

Type Values Removed Values Added
Description Linuxfabrik Monitoring Plugins provides monitoring plugins for Icinga, Nagios, and related systems. Prior to version 7.0.0, check-plugins/logfile/logfile accepted a free-form --filename path and opened it as root when invoked through the shipped nagios or icinga sudoers allowlist, without confining the resolved path to /var/log. An attacker who controls the monitoring account can select a root-readable file such as /etc/shadow and use --warning-regex . while leaving SUPPRESS_OUTPUT false, causing each nonempty line to be collected in warn_matches and returned through lib.base.oao(). The vulnerable flow passes the expanded scan_path directly to open(), and neither real-path containment nor an allowlist protects the sink. The same fix also confines mysql-logfile and openvpn-client-list paths, allows only documented log roots, and resolves symlinks and parent-directory traversal before checking containment. This issue is fixed in version 7.0.0.
Title Linuxfabrik Monitoring Plugins: Arbitrary root file disclosure via unconfined --filename in logfile plugin (sudoers 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 Monitoring-plugins
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-19T19:20:04.354Z

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

Link: CVE-2026-73973

cve-icon Vulnrichment

Updated: 2026-08-19T19:19:33.302Z

cve-icon NVD

Status : Received

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

Modified: 2026-08-19T20:17:22.677

Link: CVE-2026-73973

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-19T11:00:04Z

Weaknesses
  • CWE-22

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

  • CWE-269

    Improper Privilege Management