Vulnerability · Published Aug 18, 2026 · Assigned by GitHub_M
CVE-2026-52817Linuxfabrik Monitoring Plugins Sudoers: /usr/bin/apt-get arguments allow privilege escalation
High 7.0
In plain English
A high-severity argument injection in monitoring-plugins from Linuxfabrik. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | linuxfabrik-lib | 5.1.0 | GHSA-8w6w-23mq-h8rg |
| PyPI | linuxfabrik-lib | 5.1.0 | PYSEC-2026-2595 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linuxfabrik | monitoring-plugins | < 5.1.0 |
Weakness: CWE-88 · Vector: 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 x_refsource_CONFIRM
- https://github.com/Linuxfabrik/monitoring-plugins/commit/694b5daeebadc9a51428f3de1acff7b1f737642f x_refsource_MISC
- https://github.com/Linuxfabrik/monitoring-plugins/blob/main/CHANGELOG.md#v510---2026-05-30 x_refsource_MISC
- https://github.com/Linuxfabrik/monitoring-plugins/releases/tag/v5.1.0 x_refsource_MISC