CVE-2025-5791

Users: `root` appended to group listings

State
Published
Severity
7.1 High
Published
Jun 6, 2025
Updated
Nov 20, 2025
Reserved
Jun 6, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Nredhat

Weaknesses

  • CWE-266 Incorrect Privilege Assignment

Affected Products

ProductVersions
rust-users
  • 0.8.0 to before 0.11.1Affected
Red Hat OpenShift sandboxed containers 1.1Red Hat
  • sha256:a6f29da891174e57fcfd131da7aa90c50459ba24164111b83120a1b91f2eabba and laterNot affected
Red Hat Enterprise Linux 10Red Hat
    Red Hat Enterprise Linux 9Red Hat
      Red Hat OpenShift Container Platform 4Red Hat
        Red Hat OpenShift Container Platform 4Red Hat
          Red Hat Trusted Profile AnalyzerRed Hat

            References

            Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.