CSIRTS // UNIFIED SECURITY ADVISORY FEEDSYS ● ONLINE · POWERED BY INTELFUSIONS.COM

CVE-2026-52817

highcovered by 1 sourcefirst seen 2026-07-02
Summary In the Debian.sudoers file, apt-get is allowed for the nagios user. The full command including the arguments are not enforced and can therefore be choosen arbitrarily. This allows to easily get a root shell as the nagios user: PoC By choosing a particular argument, you can get (as a nagios user) a root shell: sudo apt-get update -o APT::Update::Pre-Invoke::="/bin/sh" Since the nagious user can use sudo to run apt-get as root, the resulting shell is also running as root. Impact The vulnerability is a local privilege escalation, impacting users who use the provided sudoers file. It requires that an attacker already compromised the nagios account (which is quite a high barrier to be honest). Fix Since only one place where apt-get is currently used (in deb-updates) was found, it should be enough to allow only the specific arguments used there. Here an example how the line in the sudoers file could look like: /usr/lib64/nagios/plugins/strongswan-connections,\ /usr/lib64/nagios/plugins/systemd-unit,\ /usr/bin/apt-get update --quiet 2

⚡ Watch CVE-2026-52817

Get an email if CVE-2026-52817 is added to CISA KEV, gains public exploit code, or a new advisory cites it — max one per day, one-click unsubscribe.

Advisory coverage (1)

External references

NVD record for CVE-2026-52817

CVE.org record

Embed the live status

CVE-2026-52817 live status badge — this badge updates automatically when the KEV or exploit status changes. How to embed it →

[![CVE-2026-52817 status](https://www.csirts.com/badge/CVE-2026-52817)](https://www.csirts.com/cve/CVE-2026-52817)