CVE-2026-73974 linuxfabrik-lib: Arbitrary root file read via live --test argument (lib.lftest) across sudoers-whitelisted plugins (LPE)
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
3 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi linuxfabrik-lib(PyPI) | < 6.1.0; = 2.0.0.0; = 2.0.0.7; = 2.1.0.0 +25 more | 6.1.0 | Fixed |
| Linuxfabrik lib | = < 6.0.1 | No fix listed | Versions listed |
| Linuxfabrik monitoring-plugins | = < 7.0.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi linuxfabrik-lib(PyPI) | < 6.1.0 | 6.1.0 |
| pypi linuxfabrik-lib(PyPI) | = 2.0.0.0 | No fix listed |
| pypi linuxfabrik-lib(PyPI) | = 2.0.0.7 | No fix listed |
| pypi linuxfabrik-lib(PyPI) | = 2.1.0.0 | No fix listed |
| pypi linuxfabrik-lib(PyPI) | = 2.1.0.4 | No fix listed |
| pypi linuxfabrik-lib(PyPI) | = 2.1.1.15 | No fix listed |
| pypi linuxfabrik-lib(PyPI) | = 2.1.1.5 | No fix listed |
| pypi linuxfabrik-lib(PyPI) | = 2.1.1.7 | No fix listed |
| pypi linuxfabrik-lib(PyPI) | = 2.2.0 | No fix listed |
| pypi linuxfabrik-lib(PyPI) | = 2.2.1 | No fix listed |
| pypi linuxfabrik-lib(PyPI) | = 2.3.0 | No fix listed |
| pypi linuxfabrik-lib(PyPI) | = 2.4.0 | No fix listed |
| pypi linuxfabrik-lib(PyPI) | = 3.0.0 | No fix listed |
| pypi linuxfabrik-lib(PyPI) | = 3.1.0 | No fix listed |
| pypi linuxfabrik-lib(PyPI) | = 3.1.1 | No fix listed |
| pypi linuxfabrik-lib(PyPI) | = 3.2.0 | No fix listed |
| pypi linuxfabrik-lib(PyPI) | = 3.3.0 | No fix listed |
| pypi linuxfabrik-lib(PyPI) | = 3.4.0 | No fix listed |
| pypi linuxfabrik-lib(PyPI) | = 3.4.1 | No fix listed |
| pypi linuxfabrik-lib(PyPI) | = 4.0.0 | No fix listed |
| pypi linuxfabrik-lib(PyPI) | = 4.0.1 | No fix listed |
| pypi linuxfabrik-lib(PyPI) | = 4.0.2 | No fix listed |
| pypi linuxfabrik-lib(PyPI) | = 4.1.0 | No fix listed |
| pypi linuxfabrik-lib(PyPI) | = 4.2.0 | No fix listed |
| pypi linuxfabrik-lib(PyPI) | = 4.3.0 | No fix listed |
Show 6 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi linuxfabrik-lib(PyPI) | = 4.4.0 | No fix listed |
| pypi linuxfabrik-lib(PyPI) | = 5.0.0 | No fix listed |
| pypi linuxfabrik-lib(PyPI) | = 5.1.0 | No fix listed |
| pypi linuxfabrik-lib(PyPI) | = 6.0.0 | No fix listed |
| Linuxfabrik monitoring-plugins | = < 7.0.0 | No fix listed |
| Linuxfabrik lib | = < 6.0.1 | No fix listed |
References
- https://github.com/Linuxfabrik/monitoring-plugins/security/advisories/GHSA-rh9c-rqvg-f7pr exploit vendor-advisory
- https://github.com/Linuxfabrik/lib/commit/d665042c55fae83a295ebc0023e8b77f6c473a28 patch
- https://github.com/Linuxfabrik/lib/releases/tag/v6.1.0
- github.com product
- pypi.org product
- github.com vendor-advisory
- nvd.nist.gov vendor-advisory
- https://github.com/Linuxfabrik/monitoring-plugins/commit/f6680a9e4b39569f318feefdb2f51e5d18c7dad5
- https://github.com/Linuxfabrik/monitoring-plugins/releases/tag/v7.0.0
- ENISA EUVD EUVD-2026-62185 third-party-advisory