cve.bz

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

4.4 mediumEPSS 0.1%Fix available

Medium (4.4) in red hat. EPSS 0.1% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

4.4 medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
EPSS
0.1% (unchanged from 0.1% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 1st percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-08-07. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
Published
Modified
Assigned by
redhat (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-19079 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-19079?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-19079?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-19079 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Hardened Images3.11-2.2.hum1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14policycoreutilsno fix listedDEBIAN-CVE-2026-19079
Ubuntu14.04:LTS, 16.04:LTS, 18.04:LTS and 5 morepolicycoreutilsno fix listedUBUNTU-CVE-2026-19079
Red Hathummingbird:1policycoreutils, policycoreutils-gui, policycoreutils-dbus and 6 more0:3.11-2.2.hum1RHSA-2026:51861

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat ships policycoreutils with the fixfiles script in all supported RHEL versions. The vulnerable /tmp cleanup code path has been present in fixfiles for many years. Red Hat product impact analysis is required to determine which specific shipped versions of policycoreutils include the vulnerable code and whether backporting the upstream fix is necessary. The vulnerability requires local access, winning a race condition, and an administrator running fixfiles relabel or fixfiles restore, which limits the practical attack surface.

Red Hat's mitigation

As a workaround, use 'restorecon -R /' directly instead of 'fixfiles relabel' or 'fixfiles restore' to perform filesystem relabeling. This avoids the vulnerable /tmp-specific find+chcon code path entirely. Note that this skips the /tmp cleanup logic, but on modern systems where /tmp is mounted as tmpfs, this cleanup is unnecessary as tmpfs cannot retain files from a prior boot.

ProductPackageStateAdvisory
Red Hat Hardened Imagespolicycoreutils-main-3.11-2.2.hum1Fixed 2026-08-07RHSA-2026:51861
Red Hat Enterprise Linux 10policycoreutilsFix deferred
Red Hat Enterprise Linux 6policycoreutilsOut of support scope
Red Hat Enterprise Linux 7policycoreutilsFix deferred
Red Hat Enterprise Linux 8policycoreutilsFix deferred
Red Hat Enterprise Linux 9policycoreutilsFix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Fix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Fix deferred
Red Hat OpenShift Container Platform 5openshift/ose-rhel-coreos-9Fix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-19079.

Attack patterns (CAPEC)

  • CAPEC-27 Leveraging Race Conditions via Symbolic Links Likelihood: Medium · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON