seunshare TOCTOU Race in Selinux Policycoreutils 3.10 Arbitrary File Deletion
CVE-2026-59676 Published on July 23, 2026

Local File Deletion Attack Vector in rm_rf() in seunshare
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.

NVD

Weakness Type

What is a TOCTTOU Vulnerability?

The software checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check. This can cause the software to perform invalid actions when the resource is in an unexpected state. This weakness can be security-relevant when an attacker can influence the state of the resource between check and use. This can happen with shared resources such as files, memory, or even variables in multithreaded programs.

CVE-2026-59676 has been classified to as a TOCTTOU vulnerability or weakness.


Products Associated with CVE-2026-59676

Want to know whenever a new CVE is published for Selinuxproject Selinux? stack.watch will email you.

 

Affected Versions

SELinuxProject selinux: