Red Hat Enterprise Linux 10: Execution with Unnecessary Privileges
CVE-2025-6019 is a high-severity execution with unnecessary privileges vulnerability in Red Hat Enterprise Linux 10 from Red Hat, with a CVSS 3.1 base score of 7.0 out of 10. It can be exploited with local access to the system by an attacker with a low-privileged account, without any action from a user. There is no confirmed exploitation so far. EPSS estimates a 0.48% chance of exploitation within 30 days, which is low compared with other CVEs.
High severity with no evidence of exploitation so far.
What to do
- Check which version of Red Hat Enterprise Linux 10 you run against the affected versions below, and install the vendor's latest release.
Affected products and versions
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- LocalThe attacker needs local access or must trick a user into running something.
- Attack complexity
- HighSuccess depends on conditions outside the attacker's control.
- Privileges required
- LowA basic user account is enough.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H. Scored by CNA (redhat.com).
Official description
A Local Privilege Escalation (LPE) vulnerability was found in libblockdev. Generally, the "allow_active" setting in Polkit permits a physically present user to take certain actions based on the session type. Due to the way libblockdev interacts with the udisks daemon, an "allow_active" user on a system may be able escalate to full root privileges on the target host. Normally, udisks mounts user-provided filesystem images with security flags like nosuid and nodev to prevent privilege escalation. However, a local attacker can create a specially crafted XFS image containing a SUID-root shell, then trick udisks into resizing it. This mounts their malicious filesystem with root privileges, allowing them to execute their SUID-root shell and gain complete control of the system.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Execution with Unnecessary Privileges
The product performs an operation at a privilege level that is higher than the minimum level required, which creates new weaknesses or amplifies the consequences of other weaknesses.
How developers prevent this class of flaw
- Run your code using the lowest privileges that are required to accomplish the necessary tasks. If possible, create isolated accounts with limited privileges that are only used for a single task. That way, a successful attack will not immediately give the attacker access to the rest of the software or its environment. For example, database applications rarely need to run as the database administrator, especially in day-to-day operations.
- Identify the functionality that requires additional privileges, such as access to privileged operating system resources. Wrap and centralize this functionality if possible, and isolate the privileged code as much as possible from other code. Raise privileges as late as possible, and drop them as soon as possible to avoid CWE-271. Avoid weaknesses such as CWE-288 and CWE-420 by protecting all possible communication channels that could interact with the privileged code, such as a secondary socket that is only intended to be accessed by administrators.
- Identify the functionality that requires additional privileges, such as access to privileged operating system resources. Wrap and centralize this functionality if possible, and isolate the privileged code as much as possible from other code. Raise privileges as late as possible, and drop them as soon as possible to avoid CWE-271. Avoid weaknesses such as CWE-288 and CWE-420 by protecting all possible communication channels that could interact with the privileged code, such as a secondary socket that is only intended to be accessed by administrators.
More Execution with Unnecessary Privileges vulnerabilities (CWE-250)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Other references
- access.redhat.com/errata/RHSA-2025:10796
- access.redhat.com/errata/RHSA-2025:9320
- access.redhat.com/errata/RHSA-2025:9321
- access.redhat.com/errata/RHSA-2025:9322
- access.redhat.com/errata/RHSA-2025:9323
- access.redhat.com/errata/RHSA-2025:9324
- access.redhat.com/errata/RHSA-2025:9325
- access.redhat.com/errata/RHSA-2025:9326
- access.redhat.com/errata/RHSA-2025:9327
- access.redhat.com/errata/RHSA-2025:9328
- access.redhat.com/errata/RHSA-2025:9878
- access.redhat.com/security/cve/CVE-2025-6019
- bugzilla.redhat.com/show_bug.cgi?id=2370051
- cdn2.qualys.com/2025/06/17/suse15-pam-udisks-lpe.txt
- openwall.com/lists/oss-security/2025/06/17/5
Other vulnerabilities in Red Hat Enterprise Linux 10
- 8.8 High severity
- 7.5 High severity
- 7.5 High severity
- 7.9 High severity
- 7.3 High severity
- 7.5 High severity
Recent Execution with Unnecessary Privileges vulnerabilities
- 7.2 High severity
- 7.8 High severity
- 8.8 High severity
- 7.0 High severity
- 8.8 High severity
- 8.8 High severity
Spotted an error? Tell us.