Skip to main content
EPSS 0.1%top 100%

CVE-2026-19079: Time-of-check Time-of-use (TOCTOU) Race Condition in Red Hat Red Hat Hardened Images

0
Medium
Published: 08/07/2026 (08/07/2026, 07:21:55 UTC)
Source: CVE Database V5
Vendor/Project: Red Hat
Product: Red Hat Hardened Images

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.

CVSS v3.1

Score 4.4medium

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N

Affected software

Red Hat

Red Hat Hardened Images

Red Hat

Red Hat Enterprise Linux 10

Red Hat

Red Hat Enterprise Linux 6

Red Hat

Red Hat Enterprise Linux 7

Red Hat

Red Hat Enterprise Linux 8

Red Hat

Red Hat Enterprise Linux 9

Red Hat

Red Hat OpenShift Container Platform 4

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/14/2026, 15:54:03 UTC

Technical Analysis

CVE-2026-19079 is a TOCTOU race condition vulnerability in the fixfiles script within policycoreutils in Red Hat Hardened Images. When fixfiles relabel or restore commands run, they use find and chcon to locate and relabel unlabeled files under /tmp and other directories. A local attacker can exploit the race window between file discovery and label change by swapping directory components with symlinks, causing chcon to follow the symlink and modify SELinux labels on arbitrary system files, such as /etc/shadow. This undermines SELinux mandatory access control protections. The vulnerability requires local access, winning a race condition, and an administrator running fixfiles relabel or restore, which limits the attack surface. Red Hat has analyzed affected versions and released updated policycoreutils RPMs (version 3.11-2.2.hum1) to fix this issue. A recommended mitigation is to use 'restorecon -R /' instead of fixfiles relabel or restore to avoid the vulnerable code path. The vulnerability has a CVSS v3.1 score of 4.4 (medium severity) with local attack vector, high attack complexity, low privileges required, and user interaction required.

Potential Impact

The vulnerability allows a local attacker to modify SELinux labels on arbitrary system files by exploiting a race condition in the fixfiles script. This can undermine SELinux mandatory access control protections on critical files such as /etc/shadow, potentially allowing unauthorized modification of security-sensitive files. However, exploitation requires local access, winning a race condition, and an administrator running fixfiles relabel or restore commands, which limits the practical attack surface. The CVSS score of 4.4 reflects medium severity with high attack complexity and low privileges required.

Mitigation Recommendations

Red Hat has released updated policycoreutils packages (version 3.11-2.2.hum1) that fix this vulnerability. Users should apply these updates to remediate the issue. As a workaround, administrators can use the 'restorecon -R /' command directly instead of 'fixfiles relabel' or 'fixfiles restore' to avoid the vulnerable /tmp-specific find+chcon code path. This workaround skips the /tmp cleanup logic, which is generally unnecessary on modern systems where /tmp is mounted as tmpfs. No other actions are required if the update is applied.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
redhat
Date Reserved
2026-08-06T11:13:39.734Z
Cvss Version
3.1
State
PUBLISHED
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-19079","vendor":"Red Hat"}]

Threat ID: 6a758c3ebf8831d539f76887

Added to database: 08/07/2026, 07:41:50 UTC

Last enriched: 08/14/2026, 15:54:03 UTC

Last updated: 09/21/2026, 22:01:32 UTC

Views: 54

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses