Skip to main content

Linuxfabrik Monitoring Plugins EUVDEUVD-2026-62184

| CVE-2026-73973 MEDIUM
Path Traversal (CWE-22)
2026-08-18 security-advisories@github.com
5.5
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain monitoring account shell access
  2. Delivery
    Identify sudoers-listed logfile plugin
  3. Exploit
    Invoke plugin via sudo with --filename=/etc/shadow --warning-regex .
  4. Execution
    Plugin opens /etc/shadow as root without path check
  5. Persist
    Hash lines returned in WARNING output
  6. Impact
    Collect credentials for offline cracking

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attacker must hold access to the monitoring service account (e.g., the nagios or icinga OS user) - matching CVSS PR:L (low privilege). The sudoers allowlist shipped with Linuxfabrik Monitoring Plugins must be installed and active on the target host, granting the monitoring account the ability to run the logfile check as root without a password. SUPPRESS_OUTPUT must be false (which is the default, so no deliberate misconfiguration is required beyond standard deployment). The vulnerability is constrained to local access only (AV:L): a remote attacker must first gain monitoring-account-level shell access before exploitation is possible. There is no network-facing attack surface for this flaw itself. Exploitation is further limited to systems running monitoring-plugins < 7.0.0 with the sudoers integration enabled.

Impact

The CVSS 3.1 base score of 5.5 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) accurately captures the threat profile: local attack surface, low privilege requirement (monitoring account), no user interaction, high confidentiality impact, and no integrity or availability impact. The attack complexity is genuinely low - once an attacker controls the monitoring account, a single invocation with --filename=/etc/shadow suffices. The scope is unchanged (S:U), as the attacker cannot directly move laterally through this vulnerability alone, though credential material exposed from /etc/shadow could enable downstream privilege escalation. EPSS data was not provided in source intelligence. No CISA KEV listing exists, indicating no confirmed widespread active exploitation. No public POC has been identified, though exploitation requires no specialized skill. Real-world priority is elevated in environments where the monitoring account is shared, externally exposed, or where credential files hold significant value (e.g., systems not using shadow passwords with hashing algorithms resistant to offline cracking). The vulnerability is less critical in hardened environments where the monitoring account is tightly controlled and not reachable by external parties.

Exploit ScenarioDerived

An attacker who has compromised or legitimately holds the nagios or icinga monitoring account invokes the logfile check via the pre-configured sudoers entry: sudo /path/to/logfile --filename=/etc/shadow --warning-regex . with SUPPRESS_OUTPUT not set. Because the plugin runs as root and previously applied no path containment, it opens /etc/shadow, matches every nonempty line against the trivial regex, collects hashed password entries in warn_matches, and returns them in the plugin's WARNING output - which is then stored in the monitoring system's performance database or displayed in the web UI. No public exploit code has been identified, but the technique requires no specialized tooling.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 19, 2026

Arbitrary root-readable file disclosure in Linuxfabrik Monitoring Plugins prior to 7.0.0 allows a local attacker controlling the monitoring account to exfiltrate sensitive files such as /etc/shadow by supplying a crafted --filename path to the logfile check plugin, which executes as root via the shipped sudoers allowlist without confining the resolved path to /var/log. The same path-traversal flaw extends to the mysql-logfile and openvpn-client-list plugins. No public exploit code or CISA KEV listing has been identified at time of analysis, but the attack is straightforward and requires only monitoring-account-level access.

RemediationAI

Upgrade to Linuxfabrik Monitoring Plugins version 7.0.0, released 2026-08-14, which is the vendor-confirmed fix version per the GitHub release tag and CHANGELOG (https://github.com/Linuxfabrik/monitoring-plugins/releases/tag/v7.0.0). The fix confines --filename resolution to /var/log for logfile and openvpn-client-list, and additionally allows /var/lib/mysql for mysql-logfile. If immediate upgrade is not possible, a targeted sudoers mitigation can reduce exposure: restrict permitted arguments in the sudoers entry to explicitly allowlisted --filename values using sudoers Cmnd_Alias with argument constraints, preventing arbitrary path injection. This approach requires careful sudoers syntax and per-host maintenance overhead, making upgrade the strongly preferred path. For monitoring logs stored outside /var/log post-upgrade, use bind mounts (not symlinks, which the new realpath check will reject) to expose them under /var/log. Full advisory: https://github.com/Linuxfabrik/monitoring-plugins/security/advisories/GHSA-f54c-p5vg-mr5c.

Affected VersionsENISA

monitoring-plugins < 7.0.0

Affected Packages

euvd monitoring_plugins fix: 7.0.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected components - check-plugins/logfile, mysql-logfile, and openvpn-client-list - are Python-based monitoring checks designed for Nagios, Icinga, and compatible systems. Because they must read log files owned by root, the shipped sudoers allowlist grants them elevated execution under the root user. Prior to v7.0.0, the logfile plugin accepted the --filename argument as a free-form path, expanded it into a scan_path variable, and passed it directly to Python's open() without any realpath containment or allowlist check - matching the CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) root cause. With --warning-regex . and SUPPRESS_OUTPUT left false (the default), every nonempty line of the opened file was collected into warn_matches and surfaced through lib.base.oao(), effectively turning the monitoring check into a root file reader. The fix in v7.0.0 adds a lib.disk.is_within() call that resolves symlinks and parent-directory traversal sequences before asserting that the result falls within ALLOWED_LOG_ROOTS (/var/log, and /var/lib/mysql for the mysql variant), closing the traversal vector. Affected version range per EUVD (EUVD-2026-62184): monitoring-plugins < 7.0.0.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 5.5 MEDIUM

Local attack requiring monitoring account; sudoers execution as root enables high confidentiality impact; no integrity or availability effect.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

2
Patch available
Aug 18, 2026 - 22:19 EUVD
CVE Published
Aug 18, 2026 - 22:17 cve.org
MEDIUM 5.5

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Low
Niche Nagios/Icinga plugin set, limited to Linux monitoring deployments
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy