
PEACH
Un cadre d’isolation des locataires
CVE-2026-72694 is a symlink-following (CWE-59) local privilege escalation vulnerability in MRTG (Multi Router Traffic Grapher). When the MRTG daemon is started as root and subsequently drops privileges, a local low-privileged attacker can pre-place a symbolic link at the PID file path, causing the root process to chown an arbitrary existing file to the daemon user, enabling privilege escalation. Affected versions include the MRTG package as shipped in Red Hat Enterprise Linux 7, 8, 9, and 10 (confirmed in mrtg-2.17.10-12.el10); RHEL 6 status is listed as unknown. The vulnerability was reported on April 23, 2026, and publicly disclosed on August 11, 2026, with a CVSS v3.1 base score of 7.1 (High) (Red Hat CVE, Red Hat Bugzilla).
The root cause is improper link resolution (CWE-59) in MRTG's daemon startup logic, specifically in bin/mrtg, bin/mrtg.socket6, and lib/mrtg2/MRTG_lib.pm. When started with --daemon as root, MRTG calls create_pid() to create the PID file and then immediately calls chown($uid, $gid, $pidfile) to transfer ownership to the daemon user — all before dropping privileges. The create_pid() function uses an unsafe -e existence check followed by a plain open(">$pidfile"), which does not guard against symlinks; if an attacker pre-places a symlink at the PID file path pointing to a sensitive root-owned file, the subsequent chown call follows the symlink and transfers ownership of the target file to the daemon user. A secondary TOCTOU (CWE-367) risk exists in the create_pid() check-then-open sequence. Exploitation requires local low-privileged access, a deployment where MRTG is started as root with --daemon, and the ability to influence or pre-place a symlink at the PID file path (Red Hat Bugzilla, Red Hat CVE).
Successful exploitation allows a local low-privileged attacker to change the ownership of an arbitrary root-owned file to the MRTG daemon user, resulting in high confidentiality and integrity impact. The attacker can subsequently read or modify sensitive files (e.g., /etc/shadow, SSH keys, or other privileged configuration files) that become accessible under the daemon user's ownership, potentially enabling full local privilege escalation to root. Availability is not directly impacted by the primary exploit primitive, though secondary effects from file modification could disrupt system services (Red Hat CVE, Red Hat Bugzilla).
There is no public proof-of-concept exploit code and no evidence of in-the-wild exploitation at the time of disclosure (Feedly). The vulnerability is not remotely reachable and requires local access with low privileges, limiting its attack surface. The EPSS score is approximately 0.00127 (0.127%), reflecting a low probability of exploitation in the near term. The CVE is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The vulnerability was discovered by AISLE Research in partnership with Red Hat (Red Hat Bugzilla).
ps aux | grep mrtg or checking /etc/init.d/mrtg or systemd unit files for --daemon and a root start context).--pid-file argument in the startup script or from the MRTG configuration file (default is typically /var/run/mrtg/mrtg.pid or similar)./etc/shadow, /etc/sudoers, or an SSH authorized_keys file).ln -s /etc/shadow /var/run/mrtg/mrtg.pid.chown($uid, $gid, $pidfile) as root, which follows the symlink and transfers ownership of the target file (e.g., /etc/shadow) to the MRTG daemon user./etc/shadow for password cracking, or write to /etc/sudoers to grant sudo access) (Red Hat Bugzilla)./etc/shadow, /etc/sudoers, SSH key files) to the MRTG daemon user (e.g., nobody, mrtg); presence of a symlink at the MRTG PID file path (e.g., /var/run/mrtg/mrtg.pid) pointing to a system file rather than being a regular file./var/log/audit/audit.log) showing chown syscall events on sensitive files attributed to the MRTG process (PID owned by root); auditd records with type=SYSCALL and syscall=chown or lchown referencing unexpected file paths.mrtg) running with root effective UID during startup phase, followed by privilege drop — observable via /proc/<pid>/status showing Uid transition; unexpected chown calls in strace output of the MRTG startup process.Red Hat has documented the following mitigations while a patch is under development (tracked in RHEL-189242 for RHEL 10.3): avoid starting the MRTG daemon as root with the --daemon option and instead configure MRTG to run directly as an unprivileged user from the start. If root startup is strictly necessary, ensure the PID file and its parent directory are owned by root and not writable by unprivileged users, and prevent untrusted users from influencing the --pid-file argument or config-derived PID path. The proposed code fix involves using sysopen with O_WRONLY|O_CREAT|O_EXCL flags for secure PID file creation, adding a symlink check via lstat, and deferring PID file creation until after privilege drop (Red Hat CVE, Red Hat Bugzilla).
The vulnerability was discovered by AISLE Research in partnership with Red Hat and reported through coordinated disclosure, with an embargo period observed prior to public disclosure on August 11, 2026. Red Hat has acknowledged the issue and filed a tracker for a fix in RHEL 10.3 (RHEL-189242). No significant broader media coverage or notable social media commentary has been identified at this time (Red Hat Bugzilla).
Source: Ce rapport a été généré à l’aide de l’IA
Évaluation gratuite des vulnérabilités
Évaluez vos pratiques de sécurité cloud dans 9 domaines de sécurité pour évaluer votre niveau de risque et identifier les failles dans vos défenses.
Obtenez une démo personnalisée
"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."