# CVE-2026-73974: linuxfabrik-lib: Arbitrary root file read via live --test argument (lib.lftest) across sudoers-whitelisted plugins (LPE)

- Severity: Medium 5.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-18T21:15:03.324Z
- Modified: 2026-11-09T20:10:00.200Z
- Also known as: GHSA-rh9c-rqvg-f7pr, PYSEC-2026-3682
- Weaknesses: CWE-22, CWE-269
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Linuxfabrik monitoring-plugins: < 7.0.0
- Linuxfabrik lib: < 6.0.1
- linuxfabrik-lib (PyPI): before 6.1.0

## Every score

- GitHub_M: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/Linuxfabrik/monitoring-plugins/security/advisories/GHSA-rh9c-rqvg-f7pr> (exploit, web)
- <https://github.com/Linuxfabrik/lib/commit/d665042c55fae83a295ebc0023e8b77f6c473a28> (web)
- <https://github.com/Linuxfabrik/monitoring-plugins/commit/f6680a9e4b39569f318feefdb2f51e5d18c7dad5>
- <https://github.com/Linuxfabrik/lib/releases/tag/v6.1.0> (web)
- <https://github.com/Linuxfabrik/monitoring-plugins/releases/tag/v7.0.0>
- <https://github.com/Linuxfabrik/monitoring-plugins> (package)
- <https://pypi.org/project/linuxfabrik-lib> (package)
- <https://github.com/advisories/GHSA-rh9c-rqvg-f7pr> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-73974> (advisory)

## Sources

- CVE List: [CVE-2026-73974](https://www.cve.org/CVERecord?id=CVE-2026-73974), CVE Terms of Use, modified 2026-08-19
- GitHub Advisory Database: [GHSA-rh9c-rqvg-f7pr](https://github.com/advisories/GHSA-rh9c-rqvg-f7pr), CC-BY-4.0, modified 2026-08-19
- NVD: [CVE-2026-73974](https://nvd.nist.gov/vuln/detail/CVE-2026-73974), Public domain, modified 2026-11-09
- PyPA Advisory Database: [PYSEC-2026-3682](https://osv.dev/vulnerability/PYSEC-2026-3682), CC-BY-4.0, modified 2026-08-19

---

Page: https://cve.day/CVE-2026-73974 · Whole record: https://cve.day/CVE-2026-73974.json · Rebuilt by cve.day 2026-11-25T22:59:33.886Z
