CVE-2025-5791
Users: `root` appended to group listings
CVSS Score
7.1
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-266 |
| Published | Jun 6, 2025 |
| Last Updated | Nov 20, 2025 |
Stay Ahead of the Next One
Get instant alerts for
Be the first to know when new high vulnerabilities are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
Affected Versions
Red Hat / Red Hat OpenShift sandboxed containers 1.1
All versions affected Red Hat / Red Hat Enterprise Linux 10
All versions affected Red Hat / Red Hat Enterprise Linux 9
All versions affected Red Hat / Red Hat OpenShift Container Platform 4
All versions affected Red Hat / Red Hat OpenShift Container Platform 4
All versions affected Red Hat / Red Hat Trusted Profile Analyzer
All versions affected References
access.redhat.com: https://access.redhat.com/errata/RHSA-2025:12359 access.redhat.com: https://access.redhat.com/security/cve/CVE-2025-5791 bugzilla.redhat.com: https://bugzilla.redhat.com/show_bug.cgi?id=2370001 crates.io: https://crates.io/crates/users github.com: https://github.com/ogham/rust-users/issues/44 rustsec.org: https://rustsec.org/advisories/RUSTSEC-2025-0040.html