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

High 7.0 Published Updated

Attackers with monitoring account access can escalate to root via unrestricted apt-get arguments in Linuxfabrik Monitoring Plugins.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-52817?

CVE-2026-52817 is a high-severity vulnerability in Linuxfabrik monitoring-plugins, published on 18 Aug 2026. It can only be exploited from the same machine or local network, with no action from the victim.

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.

Weakness: CWE-88

Which versions are affected by CVE-2026-52817?

3 open source packages ship an affected version, including linuxfabrik-lib.

PackageAffectedFixed in
linuxfabrik-lib PyPIAll versions5.1.0
linuxfabrik-lib PyPIAll versions5.1.0
linuxfabrik-lib PyPIAll versions5.1.0

How do I fix CVE-2026-52817?

Upgrade linuxfabrik-lib to 5.1.0 or later.

Is CVE-2026-52817 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-52817 exists.

Sources

Also known as GHSA-8w6w-23mq-h8rg, PYSEC-2026-2595.

Is CVE-2026-52817 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free