{"id":"CVE-2025-5791","published":"2025-06-06T13:10:07Z","modified":"2026-11-04T21:35:33Z","title":"Users: `root` appended to group listings","vendor":"Red Hat","product":"Red Hat OpenShift sandboxed containers 1.10","tier":"tail","description":{"text":"A flaw was found in the user's crate for Rust. This vulnerability allows privilege escalation via incorrect group listing when a user or process has fewer than exactly 1024 groups, leading to the erroneous inclusion of the root group in the access list.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00205,"percentile":0.10757,"provenance":"source"},"cwes":[{"id":"CWE-266","name":"Incorrect Privilege Assignment"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2025:12359","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2025-5791","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2370001","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://crates.io/crates/users","tags":[]},{"url":"https://github.com/ogham/rust-users/issues/44","tags":[]},{"url":"https://rustsec.org/advisories/RUSTSEC-2025-0040.html","tags":[]}],"priority":{"score":7.1,"factors":[{"name":"EPSS percentile","points":2.15},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":null,"product":null,"versions":[">= 0.8.0, < 0.11.1"]},{"vendor":"Red Hat","product":"Red Hat OpenShift sandboxed containers 1.10","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Trusted Profile Analyzer","versions":["all versions"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-06-06T13:40:43.009202Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"users","vulnerableRanges":[">=0.8.0, <=0.11.0",">=0.8.0"],"patched":[],"from":["GHSA-m65q-v92h-cm7q","RUSTSEC-2025-0040"],"provenance":"source"}],"euvd":{"id":"EUVD-2025-16945","exploited":false,"provenance":"source"}}