{"id":"CVE-2026-73973","summary":"Linuxfabrik Monitoring Plugins: Arbitrary root file disclosure via unconfined --filename in logfile plugin (sudoers LPE)","details":"Linuxfabrik Monitoring Plugins provides monitoring plugins for Icinga, Nagios, and related systems. Prior to version 7.0.0, check-plugins/logfile/logfile accepted a free-form --filename path and opened it as root when invoked through the shipped nagios or icinga sudoers allowlist, without confining the resolved path to /var/log. An attacker who controls the monitoring account can select a root-readable file such as /etc/shadow and use --warning-regex . while leaving SUPPRESS_OUTPUT false, causing each nonempty line to be collected in warn_matches and returned through lib.base.oao(). The vulnerable flow passes the expanded scan_path directly to open(), and neither real-path containment nor an allowlist protects the sink. The same fix also confines mysql-logfile and openvpn-client-list paths, allows only documented log roots, and resolves symlinks and parent-directory traversal before checking containment. This issue is fixed in version 7.0.0.","aliases":["GHSA-f54c-p5vg-mr5c"],"modified":"2026-09-11T03:30:25.764315352Z","published":"2026-08-18T21:12:27.664Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-22","CWE-269"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73973.json"},"references":[{"type":"WEB","url":"https://github.com/Linuxfabrik/monitoring-plugins/blob/ae486fc629e1ca9373e1b6dd5e395603ee453bbc/CHANGELOG.md#v700---2026-08-14"},{"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-73973.json"},{"type":"ADVISORY","url":"https://github.com/Linuxfabrik/monitoring-plugins/security/advisories/GHSA-f54c-p5vg-mr5c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73973"},{"type":"FIX","url":"https://github.com/Linuxfabrik/monitoring-plugins/commit/a0ca1268d84e0caf10442b9c7477d699b52d1c92"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/linuxfabrik/monitoring-plugins","events":[{"introduced":"0"},{"fixed":"a0ca1268d84e0caf10442b9c7477d699b52d1c92"},{"fixed":"5f5a42c77f9d1acbd11c726603fcbf4e12e55654"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"7.0.0"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["v6.0.0","v5.2.0","v5.1.0","v5.0.0","v4.1.0","v4.0.0","v3.0.0","v2.2.1","v2.2.0","v2.1.1","v2.1.0","v2.0.0","v1.2.0.11","2024060401","2024052901","2023112901","2023051201","2023030801","2022072001","2022030201","2022022801","2021101401","2021061501","2021021701","2021021601","2020122401","2020112001","2020111901","2020111801","2020102301","2020061901","2020052801","2020042001","2020041501","2020031201","2020022801"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-73973.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"}]}