# CVE-2026-52817: Linuxfabrik Monitoring Plugins Sudoers: /usr/bin/apt-get arguments allow privilege escalation

- Severity: High 7.0 (CVSS:4.0, scored by GitHub_M) `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`
- 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.24%, higher than 16% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-02T20:23:56.000Z
- Modified: 2026-10-22T22:10:00.250Z
- Also known as: GHSA-8w6w-23mq-h8rg, PYSEC-2026-2595
- Weaknesses: CWE-88
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- Linuxfabrik monitoring-plugins: < 5.1.0
- linuxfabrik-lib (PyPI): before 5.1.0

## Every score

- GitHub_M: CVSS:4.0 7.0 High `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`
- GitHub: CVSS:4.0 High `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`
- PyPA Advisory Database: CVSS:4.0 `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`

## References

- <https://github.com/Linuxfabrik/monitoring-plugins/security/advisories/GHSA-8w6w-23mq-h8rg> (exploit, web)
- <https://github.com/Linuxfabrik/monitoring-plugins/commit/694b5daeebadc9a51428f3de1acff7b1f737642f>
- <https://github.com/Linuxfabrik/monitoring-plugins/blob/main/CHANGELOG.md#v510---2026-05-30>
- <https://github.com/Linuxfabrik/monitoring-plugins/releases/tag/v5.1.0>
- <https://github.com/Linuxfabrik/monitoring-plugins> (package)
- <https://pypi.org/project/linuxfabrik-lib> (package)
- <https://github.com/advisories/GHSA-8w6w-23mq-h8rg> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-52817> (advisory)

## Sources

- CVE List: [CVE-2026-52817](https://www.cve.org/CVERecord?id=CVE-2026-52817), CVE Terms of Use, modified 2026-08-19
- GitHub Advisory Database: [GHSA-8w6w-23mq-h8rg](https://github.com/advisories/GHSA-8w6w-23mq-h8rg), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-52817](https://nvd.nist.gov/vuln/detail/CVE-2026-52817), Public domain, modified 2026-10-22
- PyPA Advisory Database: [PYSEC-2026-2595](https://osv.dev/vulnerability/PYSEC-2026-2595), CC-BY-4.0, modified 2026-07-13

---

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