What’s Vulnerable › Vulnerabilities
CVE-2025-5791: Users: `root` appended to group listings
- Severity: high (CVSS 7.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-06-06 · updated 2026-06-17
- Weakness: CWE-266
Description
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.
Affected products
- Red Hat OpenShift Container Platform 4.18: all versions
- Red Hat Enterprise Linux 10: all versions
- Red Hat Enterprise Linux 9: all versions
- Red Hat OpenShift sandboxed containers 1.1: all versions — fixed in sha256:a6f29da891174e57fcfd131da7aa90c50459ba24164111b83120a1b91f2eabba
- Red Hat Trusted Profile Analyzer: all versions
How to fix
Upgrade to a fixed version: Red Hat OpenShift sandboxed containers 1.1 sha256:a6f29da891174e57fcfd131da7aa90c50459ba24164111b83120a1b91f2eabba. Check the vendor advisory for mitigations.
References
- https://access.redhat.com/errata/RHSA-2025:12359
- https://access.redhat.com/security/cve/CVE-2025-5791
- https://bugzilla.redhat.com/show_bug.cgi?id=2370001
- https://crates.io/crates/users
- https://github.com/ogham/rust-users/issues/44
- https://rustsec.org/advisories/RUSTSEC-2025-0040.html
Get alerted when CVE-2025-5791 or the next vulnerability affects your stack