RHSA-2026:51861

Vulnerability from csaf_redhat - Published: 2026-08-07 20:16 - Updated: 2026-08-09 11:06
Summary
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
Severity
Moderate
Notes
Topic: An update for Red Hat Hardened Images RPMs is now available.
Details: This update includes the following RPMs: policycoreutils: * policycoreutils-3.11-2.2.hum1 (aarch64, x86_64) * policycoreutils-dbus-3.11-2.2.hum1 (noarch) * policycoreutils-devel-3.11-2.2.hum1 (aarch64, x86_64) * policycoreutils-gui-3.11-2.2.hum1 (noarch) * policycoreutils-newrole-3.11-2.2.hum1 (aarch64, x86_64) * policycoreutils-python-utils-3.11-2.2.hum1 (noarch) * policycoreutils-restorecond-3.11-2.2.hum1 (aarch64, x86_64) * policycoreutils-sandbox-3.11-2.2.hum1 (aarch64, x86_64) * python3-policycoreutils-3.11-2.2.hum1 (noarch) * policycoreutils-3.11-2.2.hum1.src (src) Security Fix(es): policycoreutils: * CVE-2026-19079
Terms of Use: This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.

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.

CWE-367 - Time-of-check Time-of-use (TOCTOU) Race Condition
Affected products
Product Identifier Version Remediation
Unresolved product id: Red Hat Hardened Images:policycoreutils-main@aarch64
Vendor Fix fix
Workaround
Unresolved product id: Red Hat Hardened Images:policycoreutils-main@noarch
Vendor Fix fix
Workaround
Unresolved product id: Red Hat Hardened Images:policycoreutils-main@src
Vendor Fix fix
Workaround
Unresolved product id: Red Hat Hardened Images:policycoreutils-main@x86_64
Vendor Fix fix
Workaround
Threats
Impact Moderate
Acknowledgments

{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Moderate"
    },
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright \u00a9 Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "summary",
        "text": "An update for Red Hat Hardened Images RPMs is now available.",
        "title": "Topic"
      },
      {
        "category": "general",
        "text": "This update includes the following RPMs:\n\npolicycoreutils:\n  * policycoreutils-3.11-2.2.hum1 (aarch64, x86_64)\n  * policycoreutils-dbus-3.11-2.2.hum1 (noarch)\n  * policycoreutils-devel-3.11-2.2.hum1 (aarch64, x86_64)\n  * policycoreutils-gui-3.11-2.2.hum1 (noarch)\n  * policycoreutils-newrole-3.11-2.2.hum1 (aarch64, x86_64)\n  * policycoreutils-python-utils-3.11-2.2.hum1 (noarch)\n  * policycoreutils-restorecond-3.11-2.2.hum1 (aarch64, x86_64)\n  * policycoreutils-sandbox-3.11-2.2.hum1 (aarch64, x86_64)\n  * python3-policycoreutils-3.11-2.2.hum1 (noarch)\n  * policycoreutils-3.11-2.2.hum1.src (src)\n\nSecurity Fix(es):\n\npolicycoreutils:\n  * CVE-2026-19079",
        "title": "Details"
      },
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://access.redhat.com/security/team/contact/",
      "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
      "name": "Red Hat Product Security",
      "namespace": "https://www.redhat.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "https://access.redhat.com/errata/RHSA-2026:51861",
        "url": "https://access.redhat.com/errata/RHSA-2026:51861"
      },
      {
        "category": "external",
        "summary": "https://access.redhat.com/security/cve/CVE-2026-19079",
        "url": "https://access.redhat.com/security/cve/CVE-2026-19079"
      },
      {
        "category": "external",
        "summary": "https://access.redhat.com/security/updates/classification/",
        "url": "https://access.redhat.com/security/updates/classification/"
      },
      {
        "category": "external",
        "summary": "https://images.redhat.com/",
        "url": "https://images.redhat.com/"
      },
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_51861.json"
      }
    ],
    "title": "Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update",
    "tracking": {
      "current_release_date": "2026-08-09T11:06:48+00:00",
      "generator": {
        "date": "2026-08-09T11:06:48+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "5.3.12"
        }
      },
      "id": "RHSA-2026:51861",
      "initial_release_date": "2026-08-07T20:16:32+00:00",
      "revision_history": [
        {
          "date": "2026-08-07T20:16:32+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2026-08-08T04:36:23+00:00",
          "number": "2",
          "summary": "Last updated version"
        },
        {
          "date": "2026-08-09T11:06:48+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Hardened Images",
                "product": {
                  "name": "Red Hat Hardened Images",
                  "product_id": "Red Hat Hardened Images",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:hummingbird:1"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Hardened Images"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "policycoreutils-main@aarch64",
                "product": {
                  "name": "policycoreutils-main@aarch64",
                  "product_id": "policycoreutils-main@aarch64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/policycoreutils@3.11-2.2.hum1?arch=aarch64\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-aarch64-rpms"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "aarch64"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "policycoreutils-main@src",
                "product": {
                  "name": "policycoreutils-main@src",
                  "product_id": "policycoreutils-main@src",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/policycoreutils@3.11-2.2.hum1?arch=src\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-source-rpms"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "src"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "policycoreutils-main@x86_64",
                "product": {
                  "name": "policycoreutils-main@x86_64",
                  "product_id": "policycoreutils-main@x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/policycoreutils@3.11-2.2.hum1?arch=x86_64\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-x86_64-rpms"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "policycoreutils-main@noarch",
                "product": {
                  "name": "policycoreutils-main@noarch",
                  "product_id": "policycoreutils-main@noarch",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/policycoreutils-dbus@3.11-2.2.hum1?arch=noarch\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-x86_64-rpms"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "noarch"
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "policycoreutils-main@aarch64 as a component of Red Hat Hardened Images",
          "product_id": "Red Hat Hardened Images:policycoreutils-main@aarch64"
        },
        "product_reference": "policycoreutils-main@aarch64",
        "relates_to_product_reference": "Red Hat Hardened Images"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "policycoreutils-main@noarch as a component of Red Hat Hardened Images",
          "product_id": "Red Hat Hardened Images:policycoreutils-main@noarch"
        },
        "product_reference": "policycoreutils-main@noarch",
        "relates_to_product_reference": "Red Hat Hardened Images"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "policycoreutils-main@src as a component of Red Hat Hardened Images",
          "product_id": "Red Hat Hardened Images:policycoreutils-main@src"
        },
        "product_reference": "policycoreutils-main@src",
        "relates_to_product_reference": "Red Hat Hardened Images"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "policycoreutils-main@x86_64 as a component of Red Hat Hardened Images",
          "product_id": "Red Hat Hardened Images:policycoreutils-main@x86_64"
        },
        "product_reference": "policycoreutils-main@x86_64",
        "relates_to_product_reference": "Red Hat Hardened Images"
      }
    ]
  },
  "vulnerabilities": [
    {
      "acknowledgments": [
        {
          "names": [
            "Stephen Smalley"
          ],
          "summary": "Acknowledged by upstream."
        }
      ],
      "cve": "CVE-2026-19079",
      "cwe": {
        "id": "CWE-367",
        "name": "Time-of-check Time-of-use (TOCTOU) Race Condition"
      },
      "discovery_date": "2026-07-08T00:00:00+00:00",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "2511976"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "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.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "policycoreutils: policycoreutils: TOCTOU race condition in fixfiles allows arbitrary SELinux label manipulation",
          "title": "Vulnerability summary"
        },
        {
          "category": "other",
          "text": "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.",
          "title": "Statement"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "fixed": [
          "Red Hat Hardened Images:policycoreutils-main@aarch64",
          "Red Hat Hardened Images:policycoreutils-main@noarch",
          "Red Hat Hardened Images:policycoreutils-main@src",
          "Red Hat Hardened Images:policycoreutils-main@x86_64"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2026-19079"
        },
        {
          "category": "external",
          "summary": "RHBZ#2511976",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2511976"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2026-19079",
          "url": "https://www.cve.org/CVERecord?id=CVE-2026-19079"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-19079",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-19079"
        },
        {
          "category": "external",
          "summary": "https://github.com/SELinuxProject/selinux/commit/a556538c2d5d2583273e025b45c02651fef47679",
          "url": "https://github.com/SELinuxProject/selinux/commit/a556538c2d5d2583273e025b45c02651fef47679"
        }
      ],
      "release_date": "2026-07-08T00:00:00+00:00",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2026-08-07T20:16:32+00:00",
          "details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\nhttps://images.redhat.com/",
          "product_ids": [
            "Red Hat Hardened Images:policycoreutils-main@aarch64",
            "Red Hat Hardened Images:policycoreutils-main@noarch",
            "Red Hat Hardened Images:policycoreutils-main@src",
            "Red Hat Hardened Images:policycoreutils-main@x86_64"
          ],
          "restart_required": {
            "category": "none"
          },
          "url": "https://access.redhat.com/errata/RHSA-2026:51861"
        },
        {
          "category": "workaround",
          "details": "As a workaround, use \u0027restorecon -R /\u0027 directly instead of \u0027fixfiles relabel\u0027 or \u0027fixfiles restore\u0027 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.",
          "product_ids": [
            "Red Hat Hardened Images:policycoreutils-main@aarch64",
            "Red Hat Hardened Images:policycoreutils-main@noarch",
            "Red Hat Hardened Images:policycoreutils-main@src",
            "Red Hat Hardened Images:policycoreutils-main@x86_64"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "HIGH",
            "attackVector": "LOCAL",
            "availabilityImpact": "NONE",
            "baseScore": 4.4,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N",
            "version": "3.1"
          },
          "products": [
            "Red Hat Hardened Images:policycoreutils-main@aarch64",
            "Red Hat Hardened Images:policycoreutils-main@noarch",
            "Red Hat Hardened Images:policycoreutils-main@src",
            "Red Hat Hardened Images:policycoreutils-main@x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Moderate"
        }
      ],
      "title": "policycoreutils: policycoreutils: TOCTOU race condition in fixfiles allows arbitrary SELinux label manipulation"
    }
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…