CVE-2025-6019
Libblockdev Polkit Local Privilege Escalation
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.
INFO
Published Date :
June 19, 2025, 12:15 p.m.
Last Modified :
July 10, 2025, 2:15 p.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.0
Public PoC/Exploit Available at Github
CVE-2025-6019 has a 11 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-6019
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Exploit for CVE-2025-6019
Python
None
Shell
Metasploit modules for the PAM Environment and Udisks PE exploits.
cve exploit exploitation exploitation-framework metasploit-framework metasploit-modules pentesting privilege-escalation pam-authentication polkit pwnkit ruby ruby-script udisks udisks2
Ruby
Security, sysadmin, and automation scripts for Linux, Windows, and more. Open source & GPL v2
Shell Python
None
Python Shell
exploit
Shell
None
Shell
None
HTML Python Shell
一个 CVE 漏洞预警知识库,无 exp/poc,部分包含修复方案。A knowledge base of CVE security vulnerability, no PoCs/exploits.
Config files for my GitHub profile.
config github-config
📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.
security cve exploit poc vulnerability
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-6019
vulnerability anywhere in the article.

-
Cyber Security News
PoC Released for Linux Privilege Escalation Vulnerability via udisksd and libblockdev
A proof-of-concept exploit for a critical local privilege escalation vulnerability affecting major Linux distributions, including Fedora and SUSE environments. The vulnerability, designated CVE-2025-6 ... Read more

-
Daily CyberSecurity
Linux Privilege Escalation (CVE-2025-6019): Root Access Via udisksd & libblockdev, PoC Available
Security researchers from SecureLayer7 published the technical details and a proof-of-concept exploit for a security vulnerability, CVE-2025-6019, affecting Linux distributions that rely on the udisks ... Read more

-
Kaspersky
Multiple vulnerabilities in Sitecore CMS | Kaspersky official blog
Researchers have uncovered three vulnerabilities in the popular content management system, Sitecore Experience Platform. CVE-2025-34509 involves a hard-coded password (consisting of just a single lett ... Read more
The following table lists the changes that have been made to the
CVE-2025-6019
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
Jul. 10, 2025
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2025:10796 -
CVE Modified by [email protected]
Jun. 30, 2025
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2025:9878 -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Jun. 23, 2025
Action Type Old Value New Value Added Reference https://news.ycombinator.com/item?id=44325861 Added Reference https://www.bleepingcomputer.com/news/linux/new-linux-udisks-flaw-lets-attackers-get-root-on-major-linux-distros/ -
CVE Modified by [email protected]
Jun. 23, 2025
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2025:9320 Added Reference https://access.redhat.com/errata/RHSA-2025:9321 Added Reference https://access.redhat.com/errata/RHSA-2025:9322 Added Reference https://access.redhat.com/errata/RHSA-2025:9323 Added Reference https://access.redhat.com/errata/RHSA-2025:9324 Added Reference https://access.redhat.com/errata/RHSA-2025:9325 Added Reference https://access.redhat.com/errata/RHSA-2025:9326 Added Reference https://access.redhat.com/errata/RHSA-2025:9327 Added Reference https://access.redhat.com/errata/RHSA-2025:9328 -
CVE Modified by [email protected]
Jun. 21, 2025
Action Type Old Value New Value Added Reference https://cdn2.qualys.com/2025/06/17/suse15-pam-udisks-lpe.txt -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Jun. 19, 2025
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2025/06/17/5 Added Reference http://www.openwall.com/lists/oss-security/2025/06/17/6 Added Reference http://www.openwall.com/lists/oss-security/2025/06/18/1 Added Reference https://lists.debian.org/debian-lts-announce/2025/06/msg00018.html -
New CVE Received by [email protected]
Jun. 19, 2025
Action Type Old Value New Value Added 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. Added CVSS V3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-250 Added Reference https://access.redhat.com/security/cve/CVE-2025-6019 Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2370051
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-6019
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-6019
weaknesses.