CVE-2026-19079 Details
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.
A TOCTOU (Time-of-Check-Time-of-Use) race condition vulnerability exists in the fixfiles script of Red Hat Policycoreutils. This vulnerability arises when the fixfiles relabel or restore commands are executed. The script uses find and chcon commands to identify and relabel unlabeled files in directories like /tmp. A local attacker could exploit the timing gap between file discovery and label modification by replacing directory components with symlinks. This would cause chcon to follow the symlink and alter SELinux labels on arbitrary system files, potentially compromising SELinux's mandatory access control on critical files such as /etc/shadow.
As a workaround, use 'restorecon -R /' instead of 'fixfiles relabel' or 'fixfiles restore' to perform filesystem relabeling. This approach bypasses the vulnerable /tmp-specific find and chcon code path. However, be aware that this workaround omits the /tmp cleanup logic, which is unnecessary on modern systems where /tmp is mounted as tmpfs, as such a filesystem cannot retain files from a previous boot.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 7, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-367 | Time-of-check Time-of-use (TOCTOU) Race Condition | [email protected] |
Affected Products
No affected product data is available for this CVE.
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Modified | [email protected] |
| Sep 1, 2026 | CVE Modified | [email protected] |
| Aug 31, 2026 | CVE Modified | [email protected] |
| Aug 21, 2026 | CVE Modified | [email protected] |
| Aug 7, 2026 | CVE Modified | [email protected] |
| Aug 7, 2026 | CVE Modified | CISA-ADP |
| Aug 7, 2026 | New CVE Received | [email protected] |