CVE-2026-73974: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Linuxfabrik monitoring-plugins
CVE-2026-73974 is a path traversal vulnerability in linuxfabrik monitoring-plugins prior to version 7.0.0 and linuxfabrik-lib prior to 6.1.0. The issue arises because the test helper function lib.lftest.test() improperly handles filesystem paths from a hidden --test argument, allowing unauthorized file reads without path confinement. This vulnerability enables an attacker with sudo-authorized plugin access to read arbitrary root-readable files. The flaw affects multiple plugins that expose file content or existence checks. The vulnerability is fixed by confining fixture reads to a safe directory and routing bypasses through the helper in the fixed versions.
AI Analysis
Technical Summary
The linuxfabrik-lib Python modules and Linuxfabrik Monitoring Plugins prior to versions 6.1.0 and 7.0.0 respectively contain a path traversal vulnerability (CWE-22) due to improper limitation of pathname to a restricted directory. The lib.lftest.test() function treated elements of a --test CSV argument as filesystem paths and returned file contents without confinement. Since the --test argument is accepted by sudo-authorized plugins, an attacker controlling the nagios or icinga account could exploit this to disclose contents of any root-readable file. Approximately 22 plugins exposed filtered content or file existence checks through this helper, and two plugins had direct read paths bypassing the helper. The fix confines fixture reads to the plugin's unit-test directory and routes bypasses through the helper. These fixes are included in linuxfabrik-lib 6.1.0 and Linuxfabrik Monitoring Plugins 7.0.0.
Potential Impact
An attacker with control over the nagios or icinga account and sudo-authorized plugin execution can read arbitrary root-readable files on the system. This leads to confidentiality breaches of sensitive information. The vulnerability does not impact integrity or availability. No known exploits in the wild have been reported.
Mitigation Recommendations
The vulnerability is fixed in linuxfabrik-lib version 6.1.0 and Linuxfabrik Monitoring Plugins version 7.0.0. Users should upgrade to these versions or later to remediate the issue. No additional mitigation is required once updated.
CVE-2026-73974: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Linuxfabrik monitoring-plugins
Description
CVE-2026-73974 is a path traversal vulnerability in linuxfabrik monitoring-plugins prior to version 7.0.0 and linuxfabrik-lib prior to 6.1.0. The issue arises because the test helper function lib.lftest.test() improperly handles filesystem paths from a hidden --test argument, allowing unauthorized file reads without path confinement. This vulnerability enables an attacker with sudo-authorized plugin access to read arbitrary root-readable files. The flaw affects multiple plugins that expose file content or existence checks. The vulnerability is fixed by confining fixture reads to a safe directory and routing bypasses through the helper in the fixed versions.
CVSS v3.1
Score 5.5medium
Affected software
Linuxfabrik
monitoring-plugins
Linuxfabrik
lib
pkg:github/linuxfabrik/monitoring-pluginsRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The linuxfabrik-lib Python modules and Linuxfabrik Monitoring Plugins prior to versions 6.1.0 and 7.0.0 respectively contain a path traversal vulnerability (CWE-22) due to improper limitation of pathname to a restricted directory. The lib.lftest.test() function treated elements of a --test CSV argument as filesystem paths and returned file contents without confinement. Since the --test argument is accepted by sudo-authorized plugins, an attacker controlling the nagios or icinga account could exploit this to disclose contents of any root-readable file. Approximately 22 plugins exposed filtered content or file existence checks through this helper, and two plugins had direct read paths bypassing the helper. The fix confines fixture reads to the plugin's unit-test directory and routes bypasses through the helper. These fixes are included in linuxfabrik-lib 6.1.0 and Linuxfabrik Monitoring Plugins 7.0.0.
Potential Impact
An attacker with control over the nagios or icinga account and sudo-authorized plugin execution can read arbitrary root-readable files on the system. This leads to confidentiality breaches of sensitive information. The vulnerability does not impact integrity or availability. No known exploits in the wild have been reported.
Mitigation Recommendations
The vulnerability is fixed in linuxfabrik-lib version 6.1.0 and Linuxfabrik Monitoring Plugins version 7.0.0. Users should upgrade to these versions or later to remediate the issue. No additional mitigation is required once updated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-08-13T21:42:04.044Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a84d00bc6e8be0332c73b0b
Added to database: 08/18/2026, 21:35:07 UTC
Last enriched: 09/11/2026, 10:33:05 UTC
Last updated: 10/02/2026, 02:46:06 UTC
Views: 66
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.