CVE-2025-5791
Users: `root` appended to group listings
Reported by redhat · Published June 6, 2025
rust-users is fixed in 0.11.1 (GitHub Packages)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| rust-users | GitHub Packages | 0.11.1 |
| users | crates.io | 0.11.0, 0.8.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| 0.8.0 | ||
| Red Hat | Red Hat OpenShift sandboxed containers 1.10 | 1.10-1753885668 |
| Red Hat | Red Hat Enterprise Linux 10 | |
| Red Hat | Red Hat Enterprise Linux 9 | |
| Red Hat | Red Hat OpenShift Container Platform 4 | |
| Red Hat | Red Hat OpenShift Container Platform 4 | |
| Red Hat | Red Hat Trusted Profile Analyzer | |
| Red Hat | Red Hat OpenShift Container Platform 4 | |
| Red Hat | Red Hat OpenShift Container Platform 4 | |
| Red Hat | Red Hat Enterprise Linux 10 | |
| 0.8.0 | ||
| crates.io | users | 0.8.0 |
| Red Hat | Red Hat OpenShift sandboxed containers 1.10 | 1.10-1753885668 |
| Red Hat | Red Hat Enterprise Linux 9 | |
| Red Hat | Red Hat OpenShift sandboxed containers 1.1 | * |
| chainguard | toda | * |
| Red Hat | Red Hat Trusted Profile Analyzer |
Timeline
- Jun 6, 2025 CVE Published
- Jun 6, 2025 CVE Updated
- Jun 7, 2025 EPSS Score (30 in total, the first dated here)
- Jun 9, 2025 Coalition ESS Score (13 in total, the first dated here)
- Mar 17, 2026 Security Advisory (2 in total, the first dated here)
- Nov 5, 2026 Distribution Patch
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-5791
vulnetix vdb fixes CVE-2025-5791
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-5791/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2025:12359 vendor-advisoryx_refsource_REDHAT
- vdb-entryx_refsource_REDHAT
- RHBZ#2370001 issue-trackingx_refsource_REDHAT
- https://nvd.nist.gov/vuln/detail/CVE-2025-5791 advisory
- https://github.com/advisories/GHSA-m65q-v92h-cm7q advisory
- https://github.com/ogham/rust-users url