CVE-2025-6019
CVE-2025-6019
- CVSS v3
- 7.0 High
- Public exploits
- 12 repositories
- EPSS
- 0.005 · 42.2th percentile
- Published
- 2025-06-19
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.0 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.005, 42.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Weakness classification (CWE)
Public exploits and proof-of-concept code
12 public repositories with exploit or proof-of-concept code for this CVE:
- guinea-offensive-security/CVE-2025-6019 (71 stars, last pushed 2025-06-19)
- JM00NJ/CVE-2025-6019-udisks2-XFS-Resize-TOCTOU-Privilege-Escalation (4 stars, last pushed 2026-07-20): CVE-2025-6019: udisks2 XFS Resize TOCTOU Privilege Escalation
- And-oss/CVE-2025-6019-exploit (4 stars, last pushed 2025-06-23): exploit
- neko205-mx/CVE-2025-6019_Exploit (3 stars, last pushed 2025-06-29)
- symphony2colour/CVE-2025-6019-udisks-lpe-no-image (1 star, last pushed 2026-02-21): Script-only privilege escalation chain using CVE-2025-6019 and UDisks2 (no filesystem image included).
- tr3m0x/CVE-2025-6019 (last pushed 2026-07-28): CVE-2025-6019 exploit
- boboaung1337/CVE-2025-6019 (last pushed 2026-04-15)
- HexRazor/CVE-2025-6019 (last pushed 2026-02-13)
- 0x5chltz/CVE-2025-6019 (last pushed 2026-02-09)
- phamdinhquy2512/CVE-2025-6019-Exploitation (last pushed 2025-12-14)
2 more are listed on the interactive page.
Also mentioned in 17 other repositories (JustThinkingHard/HID-Attack, 0xMarcio/cve, ARPSyndicate/cve-scores, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- RHSA-2025:10796 (vendor-advisory)
- RHSA-2025:9320 (vendor-advisory)
- RHSA-2025:9321 (vendor-advisory)
- RHSA-2025:9322 (vendor-advisory)
- RHSA-2025:9323 (vendor-advisory)
- RHSA-2025:9324 (vendor-advisory)
- RHSA-2025:9325 (vendor-advisory)
- RHSA-2025:9326 (vendor-advisory)
- RHSA-2025:9327 (vendor-advisory)
- RHSA-2025:9328 (vendor-advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.