CVEfocus › CVE database › CVE-2026-72694

CVE-2026-72694Mrtg: mrtg daemon symlink-following chown allows local privilege escalation via pid file…

CVSS 7.1 HighEPSS 0.2% (higher than 5% of CVEs)Published 2026-08-11Updated 2026-11-04Assigner: redhat

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.

CWE-59

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

12Fixed
6Fix pending
3Under investigation
2Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10mrtgFix pendingUBUNTU-CVE-2026-72694
Ubuntu 26.04mrtgUnder investigationUBUNTU-CVE-2026-72694
Ubuntu 24.04mrtgUnder investigationUBUNTU-CVE-2026-72694
Ubuntu 22.04mrtgUnder investigationUBUNTU-CVE-2026-72694
Ubuntu 20.04mrtgFix pendingUBUNTU-CVE-2026-72694
Ubuntu 18.04mrtgFix pendingUBUNTU-CVE-2026-72694
Ubuntu 16.04mrtgFix pendingUBUNTU-CVE-2026-72694
Debian 14mrtgFixed2.17.10-15DEBIAN-CVE-2026-72694
Debian 13mrtgFixed2.17.10-13+deb13u2DEBIAN-CVE-2026-72694
Debian 12mrtgFix pendingDEBIAN-CVE-2026-72694
Red Hat Enterprise Linux 10mrtgFixed0:2.17.10-12.el10_2.1RHSA-2026:57596
Red Hat Enterprise Linux 10mrtg-selinuxFixed0:2.17.10-12.el10_2.1RHSA-2026:57596
Red Hat Enterprise Linux 9mrtgFixed0:2.17.7-12.el9_8.1RHSA-2026:57600
Red Hat Enterprise Linux 8mrtgFixed0:2.17.7-1.el8_10.1RHSA-2026:65832
Red Hat Enterprise Linux 7mrtgFix pending
Affected
Red Hat Enterprise Linux 6mrtgWill not fix
Out of support scope
Red Hat Enterprise Linux 6mrtg-libsWill not fix
Out of support scope
AlmaLinux 10mrtg-selinuxFixed2.17.10-12.el10_2.1ALSA-2026:57596
AlmaLinux 9mrtgFixed2.17.7-12.el9_8.1ALSA-2026:57600
AlmaLinux 8mrtgFixed2.17.7-1.el8_10.1ALSA-2026:65832
Rocky Linux 10mrtgFixed0:2.17.10-12.el10_2.1RLSA-2026:57596
Rocky Linux 9mrtgFixed0:2.17.7-12.el9_8.1RLSA-2026:57600
Rocky Linux 8mrtgFixed0:2.17.7-1.el8_10.1RLSA-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.

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:

References

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.