{"id":"CVE-2026-59676","aliases":["DEBIAN-CVE-2026-59676","EUVD-2026-47888","GHSA-j6qh-f45v-j454","RHSA-2026:44343","UBUNTU-CVE-2026-59676"],"status":"published","title":"Local File Deletion Attack Vector in rm_rf() in seunshare","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,\n\n\n\n\n\n\nThis issue affects policycoreutils through 3.10.","severity":{"version":"4.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","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00101,"percentile":0.00884,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-367"],"published":"2026-07-23T06:40:22Z","modified":"2026-10-25T09:47:29Z","fixes":[{"ecosystem":"Debian:12","package":"policycoreutils","fixed_in":["2.7-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"policycoreutils","fixed_in":["2.7-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"policycoreutils","fixed_in":["2.7-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"selinux-python","fixed_in":["3.7-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"selinux-python","fixed_in":["3.7-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"policycoreutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"policycoreutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"policycoreutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"selinux-python","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.7-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"selinux-python","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.7-1"}]}]},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"policycoreutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.11-2.1.hum1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"policycoreutils-dbus","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.11-2.1.hum1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"policycoreutils-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.11-2.1.hum1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"policycoreutils-gui","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.11-2.1.hum1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"policycoreutils-newrole","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.11-2.1.hum1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"policycoreutils-python-utils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.11-2.1.hum1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"policycoreutils-restorecond","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.11-2.1.hum1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"policycoreutils-sandbox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.11-2.1.hum1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"python3-policycoreutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.11-2.1.hum1"}]}],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"selinux-python","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7-2"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"selinux-python","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.9-2","3.0-1","3.0-1build1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"selinux-python","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.1-1build1","3.3-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"selinux-python","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.5-1"]}],"products":[{"vendor":"selinuxproject","product":"selinux"}],"references":[{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1268256","tags":["article","report"]},{"url":"https://security.opensuse.org/2026/07/15/selinux-seunshare.html","tags":["article","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59676","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-j6qh-f45v-j454"},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-59676","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2026:44343","tags":["advisory"]},{"url":"https://images.redhat.com/","tags":["article"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-59677","tags":["report"]},{"url":"https://access.redhat.com/security/updates/classification/","tags":["article"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-59676","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_44343.json","tags":["advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2506353","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-59676","tags":["advisory","report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2506355","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-59677","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59677","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-59676","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-59676","title":"Local File Deletion Attack Vector in rm_rf() in seunshare","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,\n\n\n\n\n\n\nThis issue affects policycoreutils through 3.10.","status":"published","published":"2026-07-23T06:40:22.453Z","modified":"2026-07-23T14:02:37.379Z","cvss":[{"version":"4.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","level":"medium","assessor":"cna"}],"cwes":["CWE-367"],"updated_at":"2026-11-02T14:19:58.560602Z"}],"euvd":[{"id":"EUVD-2026-47888","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,\n\n\n\n\n\n\nThis issue affects policycoreutils through 3.10.","status":"published","published":"2026-07-23T06:40:22Z","modified":"2026-07-23T14:02:37Z","cvss":[{"version":"4.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","level":"medium"}],"updated_at":"2026-11-02T18:19:44.021778Z"}],"ghsa":[{"id":"GHSA-j6qh-f45v-j454","title":"A Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability in seunshare of selinux...","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,\n\n\n\n\n\n\nThis issue affects policycoreutils through 3.10.","status":"published","published":"2026-07-23T09:32:00Z","modified":"2026-07-23T09:32:00Z","cvss":[{"version":"4.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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"}],"cwes":["CWE-367"],"updated_at":"2026-11-02T15:09:41.313083Z"}],"nvd":[{"id":"CVE-2026-59676","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,\n\n\n\n\n\n\nThis issue affects policycoreutils through 3.10.","status":"published","published":"2026-07-23T07:16:32.54Z","modified":"2026-10-24T13:10:00.147Z","cvss":[{"version":"4.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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","assessor":"secondary"}],"cwes":["CWE-367"],"updated_at":"2026-11-02T14:12:32.473901Z"}],"osv":[{"id":"DEBIAN-CVE-2026-59676","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.","status":"published","published":"2026-07-23T07:16:32.54Z","modified":"2026-10-25T09:47:29.057420364Z","cvss":[{"version":"4.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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"}],"updated_at":"2026-11-02T15:45:57.932517Z"},{"id":"RHSA-2026:44343","title":"Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update","status":"published","published":"2026-07-29T10:11:02Z","modified":"2026-10-06T10:31:24.729073909Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:53:20.491441Z"},{"id":"UBUNTU-CVE-2026-59676","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.","status":"published","published":"2026-07-23T07:16:00Z","modified":"2026-07-29T07:59:17Z","cvss":[{"version":"4.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","level":"medium"}],"updated_at":"2026-11-02T16:56:41.911783Z"}]}}
