{"id":"CVE-2026-52817","summary":"Linuxfabrik Monitoring Plugins Sudoers: /usr/bin/apt-get arguments allow privilege escalation","details":"Linuxfabrik Monitoring Plugins provides monitoring plugins for Icinga, Nagios, and related systems. Prior to version 5.1.0, the shipped assets/sudoers/Debian.sudoers policy allowed the nagios or icinga account to execute /usr/bin/apt-get as root without restricting its arguments. An attacker who already controls that monitoring account can supply the APT::Update::Pre-Invoke option to execute an arbitrary command while apt-get runs with root privileges, resulting in a root shell and complete compromise of the host. The vulnerable rule supports the check-plugins/deb-updates/deb-updates plugin, but it authorized arbitrary apt-get argument sequences rather than only the required apt-get update --quiet 2 command. This issue is fixed in version 5.1.0.","aliases":["GHSA-8w6w-23mq-h8rg","PYSEC-2026-2595"],"modified":"2026-09-11T03:30:33.157954395Z","published":"2026-08-18T20:53:22.189Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-88"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52817.json"},"references":[{"type":"WEB","url":"https://github.com/Linuxfabrik/monitoring-plugins/blob/main/CHANGELOG.md#v510---2026-05-30"},{"type":"WEB","url":"https://github.com/Linuxfabrik/monitoring-plugins/releases/tag/v5.1.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52817.json"},{"type":"ADVISORY","url":"https://github.com/Linuxfabrik/monitoring-plugins/security/advisories/GHSA-8w6w-23mq-h8rg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52817"},{"type":"FIX","url":"https://github.com/Linuxfabrik/monitoring-plugins/commit/694b5daeebadc9a51428f3de1acff7b1f737642f"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/linuxfabrik/monitoring-plugins","events":[{"introduced":"0"},{"fixed":"694b5daeebadc9a51428f3de1acff7b1f737642f"},{"fixed":"55c82e5e38d8db1c11df0cc64a7331e4f31aecd2"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"5.1.0"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["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-52817.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P"}]}