CVE-2025-5791Users: `root` appended to group listings
- 7.1HighCVSS base score
- 0.21%Exploitation in 30 daysEPSS · top 89% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By redhat
Published
- 17 months later
· 17 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | High7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVDNVD · Deferred | 3.1 | High7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
- EPSS (exploitation in 30 days)
- 0.21% · top 89% of all CVEs (12 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.1.
Affected products
rust-users
- affected 0.8.0 – < 0.11.1
Red Hat · Red Hat OpenShift sandboxed containers 1.10
- unaffected 1.10-1753885668 – < *
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: unaffected
Red Hat · Red Hat OpenShift Container Platform 4
All versions: affected
Red Hat · Red Hat Trusted Profile Analyzer
All versions: affected
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- crates.iousersGHSA-m65q-v92h-cm7q (opens in a new tab)
References
References6
- RHSA-2025:12359 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2025-5791 (opens in a new tab)vdb-entryx_refsource_REDHAT
- RHBZ#2370001 (opens in a new tab)issue-trackingx_refsource_REDHAT
- https://crates.io/crates/users (opens in a new tab)
- https://github.com/ogham/rust-users/issues/44 (opens in a new tab)
- https://rustsec.org/advisories/RUSTSEC-2025-0040.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-16945 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-m65q-v92h-cm7q (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-5791)Record last updated .