CVE-2025-5791: Red Hat OpenShift sandboxed containers 1.1 · Incorrect Privilege Assignment
Affects Red Hat OpenShift sandboxed containers 1.1Source CVE Database V5
Not known to be exploited · CVSS 7.1 High.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 9% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 6 Jun 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
crates.iouserspkg:cargo/usersOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2025-5791, organizations should immediately upgrade the affected Rust user's crate to a patched version once available from Red Hat or the crate maintainers. In the interim, administrators should audit group memberships and access controls within OpenShift sandboxed containers to detect any anomalous root group inclusions. Implement strict access controls and limit the number of groups assigned to users and processes to avoid triggering the vulnerability condition. Employ container security best practices such as running containers with the least privilege, using security contexts to restrict capabilities, and enabling runtime security monitoring to detect privilege escalation attempts. Additionally, consider isolating critical workloads and applying network segmentation to limit the impact of potential compromises. Regularly review and update container orchestration and runtime environments to incorporate security patches promptly.
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.
References
- access.redhat.com/errata/RHSA-2025:12359 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2025-5791 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2370001 (opens in a new tab)
- crates.io/crates/users (opens in a new tab)
- github.com/ogham/rust-users/issues/44 (opens in a new tab)
- rustsec.org/advisories/RUSTSEC-2025-0040.html (opens in a new tab)