What’s Vulnerable › Vulnerabilities

CVE-2026-19079: Policycoreutils: policycoreutils: toctou race condition in fixfiles allows arbitrary selinux label manipulation

Description

A TOCTOU (Time-of-Check-Time-of-Use) race condition vulnerability was found in the fixfiles script in policycoreutils. When running fixfiles relabel or fixfiles restore, the script used find and chcon commands to locate and relabel unlabeled files under /tmp and other directories. A local attacker could exploit a race window between the file discovery and the label change operation by swapping directory components with symlinks, causing chcon to follow the symlink and modify SELinux labels on arbitrary system files. This could undermine SELinux mandatory access control protections on critical files such as /etc/shadow.

Affected products

How to fix

Upgrade to a fixed version: Red Hat Hardened Images 3.11-2.2.hum1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-19079 or the next vulnerability affects your stack