CVE-2026-72694Mrtg: mrtg daemon symlink-following chown allows local privilege escalation via pid file…
A flaw was found in MRTG. When the MRTG daemon is started as a root user and subsequently drops privileges, a local, low-privileged attacker can exploit a symbolic link (symlink) following vulnerability. By influencing or pre-placing a symlink in the process ID (PID) file path, the attacker can trick the root process into changing the ownership of an arbitrary existing file to the daemon user. This can lead to local privilege escalation, allowing unauthorized access to or modification of sensitive files.
What to do
Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | mrtg | Fix pending | UBUNTU-CVE-2026-72694 | |
| Ubuntu 26.04 | mrtg | Under investigation | UBUNTU-CVE-2026-72694 | |
| Ubuntu 24.04 | mrtg | Under investigation | UBUNTU-CVE-2026-72694 | |
| Ubuntu 22.04 | mrtg | Under investigation | UBUNTU-CVE-2026-72694 | |
| Ubuntu 20.04 | mrtg | Fix pending | UBUNTU-CVE-2026-72694 | |
| Ubuntu 18.04 | mrtg | Fix pending | UBUNTU-CVE-2026-72694 | |
| Ubuntu 16.04 | mrtg | Fix pending | UBUNTU-CVE-2026-72694 | |
| Debian 14 | mrtg | Fixed | 2.17.10-15 | DEBIAN-CVE-2026-72694 |
| Debian 13 | mrtg | Fixed | 2.17.10-13+deb13u2 | DEBIAN-CVE-2026-72694 |
| Debian 12 | mrtg | Fix pending | DEBIAN-CVE-2026-72694 | |
| Red Hat Enterprise Linux 10 | mrtg | Fixed | 0:2.17.10-12.el10_2.1 | RHSA-2026:57596 |
| Red Hat Enterprise Linux 10 | mrtg-selinux | Fixed | 0:2.17.10-12.el10_2.1 | RHSA-2026:57596 |
| Red Hat Enterprise Linux 9 | mrtg | Fixed | 0:2.17.7-12.el9_8.1 | RHSA-2026:57600 |
| Red Hat Enterprise Linux 8 | mrtg | Fixed | 0:2.17.7-1.el8_10.1 | RHSA-2026:65832 |
| Red Hat Enterprise Linux 7 | mrtg | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | mrtg | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | mrtg-libs | Will not fix Out of support scope | ||
| AlmaLinux 10 | mrtg-selinux | Fixed | 2.17.10-12.el10_2.1 | ALSA-2026:57596 |
| AlmaLinux 9 | mrtg | Fixed | 2.17.7-12.el9_8.1 | ALSA-2026:57600 |
| AlmaLinux 8 | mrtg | Fixed | 2.17.7-1.el8_10.1 | ALSA-2026:65832 |
| Rocky Linux 10 | mrtg | Fixed | 0:2.17.10-12.el10_2.1 | RLSA-2026:57596 |
| Rocky Linux 9 | mrtg | Fixed | 0:2.17.7-12.el9_8.1 | RLSA-2026:57600 |
| Rocky Linux 8 | mrtg | Fixed | 0:2.17.7-1.el8_10.1 | RLSA-2026:65832 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 10.0 Extended Update Support
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
- Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
- Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
- Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On
- Red Hat Enterprise Linux 8.8 Telecommunications Update Service
- Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
- Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions
Workaround: To mitigate this issue, avoid starting the MRTG daemon as root with the `--daemon` option. Instead, configure MRTG to run directly as an unprivileged user. If root startup is strictly necessary, ensure that the PID file and its directory are owned by root and are not writable by unprivileged users, and prevent untrusted users from influencing the `--pid-file` path. Changes to service configuration may require a service restart to take effect.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2026:57596 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:57600 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:65832 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:87255 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:91644 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:91843 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2026:57596
- https://access.redhat.com/errata/RHSA-2026:57600
- https://access.redhat.com/errata/RHSA-2026:65832
- https://access.redhat.com/errata/RHSA-2026:87255
- https://access.redhat.com/errata/RHSA-2026:91644
- https://access.redhat.com/errata/RHSA-2026:91843
- https://access.redhat.com/errata/RHSA-2026:91844
- https://access.redhat.com/errata/RHSA-2026:91845
- https://access.redhat.com/errata/RHSA-2026:92051
- https://access.redhat.com/errata/RHSA-2026:92071
- https://access.redhat.com/security/cve/CVE-2026-72694
- https://bugzilla.redhat.com/show_bug.cgi?id=2460973
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.