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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-28)
- **CWE:** CWE-22, CWE-269
- **Aliases:** GHSA-rh9c-rqvg-f7pr, PYSEC-2026-3682
- **Published:** 2026-08-18T21:15:03.324Z
- **Modified:** 2026-11-09T20:10:00.200Z

## Who should check

- Projects that depend on PyPI package linuxfabrik-lib (\< 6.1.0)
- Anyone running Linuxfabrik monitoring-plugins \< 7.0.0
- Anyone running Linuxfabrik lib \< 6.0.1

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

## Affected and fixed versions

- PyPI `linuxfabrik-lib`: affected \< 6.1.0; fixed 6.1.0 (osv)
- Linuxfabrik monitoring-plugins: \< 7.0.0 (cvelist)
- Linuxfabrik lib: \< 6.0.1 (cvelist)

## Mitigation

- Upgrade linuxfabrik-lib to 6.1.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-73974. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-73974.md
Affected: linuxfabrik-lib < 6.1.0
Fixed in: 6.1.0

Steps:
1. Search this machine and project for linuxfabrik-lib (PyPI), Linuxfabrik monitoring-plugins, Linuxfabrik lib: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-73974 being exploited?

There is no confirmed exploitation: CVE-2026-73974 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-73974?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-73974?

linuxfabrik-lib \< 6.1.0.

### Is there a fix for CVE-2026-73974?

Yes. Fixed in 6.1.0. Upgrade linuxfabrik-lib to 6.1.0 or later.

### How do I check if I'm affected by CVE-2026-73974?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-73974>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-rh9c-rqvg-f7pr> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-3682> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-73974> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-73974>
