CVE-2026-59676

NameCVE-2026-59676
DescriptionA 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
policycoreutils (PTS)bullseye3.1-3fixed
bookworm3.4-1fixed
trixie3.8.1-2fixed
forky, sid3.11-1fixed
selinux-python (PTS)bullseye3.1-1fixed
bookworm3.4-1fixed
trixie3.8.1-2fixed
forky3.10-1fixed
sid3.11-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
policycoreutilssource(unstable)2.7-1
selinux-pythonsourcebullseye(not affected)
selinux-pythonsourcebookworm(not affected)
selinux-pythonsource(unstable)3.7-1

Notes

[bookworm] - selinux-python <not-affected> (rm_rf() and its symlink-following openat() recursion introduced upstream in 3.10; earlier seunshare removes the tmpdir with /bin/rm -r run as the calling user)
[bullseye] - selinux-python <not-affected> (rm_rf() and its symlink-following openat() recursion introduced upstream in 3.10; earlier seunshare removes the tmpdir with /bin/rm -r run as the calling user)
src:policycoreutils 2.7 dropped sandbox/seunshare.c core and stopped building
policycoreutils-sandbox. Built from selinux-python until 3.7-1 and moved to a
separate upstream package.
https://security.opensuse.org/2026/07/15/selinux-seunshare.html

Search for package or bug name: Reporting problems