PT-2026-78228 · Linuxfabrik · Monitoring-Plugins
CVE-2026-73973
·
Published
2026-08-18
·
Updated
2026-08-19
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Linuxfabrik Monitoring Plugins versions prior to 7.0.0
Description
The
check-plugins/logfile/logfile plugin accepts a free-form --filename path and opens it with root privileges when invoked via the provided nagios or icinga sudoers allowlist. The system fails to confine the resolved path to the /var/log directory. An attacker with control over the monitoring account can specify a root-readable file, such as /etc/shadow, and use the --warning-regex parameter with a dot . while keeping SUPPRESS OUTPUT set to false. This process causes nonempty lines of the file to be collected in warn matches and returned through the lib.base.oao() function. The vulnerability exists because the expanded scan path is passed directly to the open() function without real-path containment or an allowlist to protect the sink. Similar issues affect mysql-logfile and openvpn-client-list paths.Recommendations
Update to version 7.0.0.
As a temporary workaround, restrict the use of the
--filename parameter in the check-plugins/logfile/logfile plugin to prevent unauthorized file access.Exploit
Fix
LPE
Improper Privilege Management
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Monitoring-Plugins