CVE-2025-6019
Libblockdev: lpe from allow_active to root in libblockdev via udisks
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.
- Affected
- Red Hat · libblockdev · Red Hat Enterprise Linux 10 · Red Hat Enterprise Linux 7 Extended Lifecycle Support · Red Hat Enterprise Linux 8 · Red Hat Enterprise Linux 8.2 Advanced Update Support · Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
- CVSS v3.1 REDHAT
- 7.0 HIGH
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - EPSS
- 0.47% chance of exploitation in the next 30 days, 39th percentile
- Published
- 2025-06-19
- Updated
- 2026-06-30
Proof-of-concept exploits (24)
- And-oss/CVE-2025-6019-exploit4★ · 2025-06-23
- JustThinkingHard/Annual-project0★ · 2025-07-08
- JustThinkingHard/HID-Attack0★ · 2025-07-08
- dreysanox/CVE-2025-6018_Poc6★ · 2025-07-21
- guinea-offensive-security/CVE-2025-601971★ · 2025-06-19
- harshitvarma05/CVE-2025-60190★ · 2025-09-23
- mistrust999/PAM-UDisks-PrivEsc-Metasploit3★ · 2025-06-27
- mistrustt/PAM-UDisks-PrivEsc-Metasploit3★ · 2025-06-27
- neko205-mx/CVE-2025-6019_Exploit3★ · 2025-06-29
- 0x5chltz/CVE-2025-60190★ · 2026-02-09
- JM00NJ/CVE-2025-6019-udisks2-XFS-Resize-TOCTOU-Privilege-Escalation3★ · 2026-07-20
- phamdinhquy2512/CVE-2025-6019-Exploitation0★ · 2025-12-14
- robbin0919/CVE-2025-60190★ · 2025-12-13
- symphony2colour/CVE-2025-6019-udisks-lpe-no-image1★ · 2026-02-21
- tr3m0x/CVE-2025-60190★ · 2026-07-28
- 0rionCollector/Exploit-Chain-CVE-2025-6018-60194★ · 2026-02-11
- DesertDemons/CVE-2025-6018-60195★ · 2026-03-24
- Goultarde/CVE-2025-6018_CVE-2025-6019_autopwn4★ · 2026-02-10
- MaxKappa/opensuse-leap-privesc-exploit0★ · 2026-02-14
- MichaelVenturella/CVE-2025-6018-6019-PoC16★ · 2026-02-09
- euxem/Analyse-faille-de-s-curit-CVE-2025-6018-CVE-2025-60190★ · 2025-11-30
- iOxsec/CVE-2025-6018-CVE-2025-6019-Privilege-Escalation-Exploit0★ · 2026-02-22
- m0r4a/CVE-2026-6018-9-Local-Privilege-Escalation-Chain1★ · 2026-04-24
- muyuanlove/CVE-2025-6018-CVE-2025-6019-Privilege-Escalation-Exploit12★ · 2026-02-09