Description
A Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability in seunshare of selinux policycoreutils allows a user calling seunshare that is running in the unconfined SELinux domain to delete arbitrary root-owned files,






This issue affects policycoreutils through 3.10.
Published: 2026-07-23
Score: 5.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A Time‑of‑check Time‑of‑use race condition in the rm_rf() function of seunshare within the SELinux policycoreutils package allows a local user running in the unconfined SELinux domain to delete any root‑owned file on the system. The flaw arises from an insecure check‑then‑act sequence that can be hijacked when the user is granted the ability to invoke seunshare. The result is uncontrolled data loss or removal of system configuration files, which can lead to instability or unauthorized privilege escalation. The weakness is classified as CWE-367, a TOCTOU Condition.

Affected Systems

SELinuxProject’s selinux policycoreutils package is affected, with the vulnerability present in all releases through version 3.10. Users running earlier or later versions are at risk if they use the seunshare command in an unconfined SELinux context.

Risk and Exploitability

The CVSS score of 5.8 indicates moderate severity, while the EPSS score of less than 1% suggests a very low probability of exploitation at this time. The issue is not listed in the CISA KEV catalog, and no public exploits are known. The likely attack vector is a local user executing seunshare in an unconfined domain; therefore, the vulnerability primarily affects systems where unconfined processes are permitted and SELinux policies do not adequately restrict file deletion rights.

Generated by OpenCVE AI on August 3, 2026 at 22:56 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade SELinux Project’s selinux policycoreutils to a version newer than 3.10 (e.g., 3.11 or later).
  • Limit the use of seunshare for unconfined users or enforce stricter SELinux policies to prevent arbitrary file deletes.
  • Review and adjust file system permissions so that critical root‑owned files cannot be deleted by unconfined processes.

Generated by OpenCVE AI on August 3, 2026 at 22:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 29 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H'}

threat_severity

Moderate


Thu, 23 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 23 Jul 2026 08:30:00 +0000

Type Values Removed Values Added
First Time appeared Selinux Project
Selinux Project selinux
Vendors & Products Selinux Project
Selinux Project selinux

Thu, 23 Jul 2026 06:45:00 +0000

Type Values Removed Values Added
Description A Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability in seunshare of selinux policycoreutils allows a user calling seunshare that is running in the unconfined SELinux domain to delete arbitrary root-owned files, This issue affects policycoreutils through 3.10.
Title Local File Deletion Attack Vector in rm_rf() in seunshare
Weaknesses CWE-367
References
Metrics cvssV4_0

{'score': 5.8, 'vector': 'CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Selinux Project Selinux
cve-icon MITRE

Status: PUBLISHED

Assigner: suse

Published:

Updated: 2026-07-23T14:02:37.379Z

Reserved: 2026-07-06T11:59:28.118Z

Link: CVE-2026-59676

cve-icon Vulnrichment

Updated: 2026-07-23T14:02:34.215Z

cve-icon NVD

Status : Deferred

Published: 2026-07-23T07:16:32.540

Modified: 2026-07-23T15:26:19.260

Link: CVE-2026-59676

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-23T06:40:22Z

Links: CVE-2026-59676 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T23:00:04Z

Weaknesses
  • CWE-367

    Time-of-check Time-of-use (TOCTOU) Race Condition