{"id":"CVE-2026-73974","summary":"linuxfabrik-lib: Arbitrary root file read via live --test argument (lib.lftest) across sudoers-whitelisted plugins (LPE)","details":"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.","aliases":["GHSA-rh9c-rqvg-f7pr","PYSEC-2026-3682"],"modified":"2026-09-11T03:30:30.462621427Z","published":"2026-08-18T21:15:03.324Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73974.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"fixed":"6.0.1"}]}],"cna_assigner":"GitHub_M","cwe_ids":["CWE-22","CWE-269"]},"references":[{"type":"WEB","url":"https://github.com/Linuxfabrik/lib/releases/tag/v6.1.0"},{"type":"WEB","url":"https://github.com/Linuxfabrik/monitoring-plugins/releases/tag/v7.0.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73974.json"},{"type":"ADVISORY","url":"https://github.com/Linuxfabrik/monitoring-plugins/security/advisories/GHSA-rh9c-rqvg-f7pr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73974"},{"type":"FIX","url":"https://github.com/Linuxfabrik/lib/commit/d665042c55fae83a295ebc0023e8b77f6c473a28"},{"type":"FIX","url":"https://github.com/Linuxfabrik/monitoring-plugins/commit/f6680a9e4b39569f318feefdb2f51e5d18c7dad5"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/linuxfabrik/lib","events":[{"introduced":"0"},{"fixed":"d665042c55fae83a295ebc0023e8b77f6c473a28"},{"fixed":"e206c8b4b02aa782fb9bf939c54143840fe3577d"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"7.0.0"}],"source":["AFFECTED_FIELD","REFERENCES"]}},{"type":"GIT","repo":"https://github.com/linuxfabrik/monitoring-plugins","events":[{"introduced":"0"},{"fixed":"f6680a9e4b39569f318feefdb2f51e5d18c7dad5"},{"fixed":"5f5a42c77f9d1acbd11c726603fcbf4e12e55654"}],"database_specific":{"source":"REFERENCES"}}],"versions":["v6.0.0","v5.1.0","v5.0.0","v4.4.0","v4.3.0","v4.2.0","v4.1.0","v4.0.2","v4.0.1","v4.0.0","v3.4.1","v3.4.0","v3.3.0","v3.2.0","v3.1.1","v3.1.0","v3.0.0","v2.4.0","v2.3.0","v2.2.1","v2.2.0","v2.1.1.15","v2.1.1.7","v2.1.1.5","v2.1.0.7","v2.1.0.4","v2.1.0.0","v2.0.0.7","v2.0.0.0","2024060401","2024052901","2023112901","2023051201","2023030801","2022072001","2022030201","2022022801","2021101401","2021061501","2021021701","2021021601","2020122401","2020112001","2020111901","2020111801","2020102301","2020061901","2020052801","2020042001","2020041501","v5.2.0","v2.1.1","v2.1.0","v2.0.0","v1.2.0.11","2020031201","2020022801"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-73974.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}