PoC Monitor
← All CVEs
CVE-2025-6019published 19 Jun 2025 11:55 UTCData: JSON · API

Red Hat Enterprise Linux 10

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.

First public PoC 9 h beforebefore publication · 19 Jun 2025
Public PoCs1717 on GitHub
CVSS7.0high · scored by CNA · CWE-250
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

  • < 3.3.1

Fixed in 3.3.1

Red Hat Red Hat Enterprise Linux 10

    Fixed in 0:3.2.0-4.el10_0

    Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support

      Fixed in 0:2.18-5.el7_9.1

      Red Hat Red Hat Enterprise Linux 8

        Fixed in 0:2.28-7.el8_10

        Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support

          Fixed in 0:2.19-13.el8_2

          Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support

            Fixed in 0:2.24-6.el8_4

            Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support

              Fixed in 0:2.24-9.el8_6

              Red Hat Red Hat Enterprise Linux 8.6 Telecommunications Update Service

                Fixed in 0:2.24-9.el8_6

                Red Hat Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions

                  Fixed in 0:2.24-9.el8_6

                  Red Hat Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions

                    Fixed in 0:2.28-3.el8_8

                    Red Hat Red Hat Enterprise Linux 9

                      Fixed in 0:2.28-14.el9_6

                      Red Hat Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions

                        Fixed in 0:2.25-12.el9_0

                        Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

                          Fixed in 0:2.28-5.el9_2

                          Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support

                            Fixed in 0:2.28-11.el9_4

                            Mitigation

                            Upgrade the affected product to 3.3.1 or later.

                            Upgrade Red Hat Enterprise Linux 10 to 0:3.2.0-4.el10_0 or later.

                            Upgrade Red Hat Enterprise Linux 7 Extended Lifecycle Support to 0:2.18-5.el7_9.1 or later.

                            Upgrade Red Hat Enterprise Linux 8 to 0:2.28-7.el8_10 or later.

                            Upgrade Red Hat Enterprise Linux 8.2 Advanced Update Support to 0:2.19-13.el8_2 or later.

                            Upgrade Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support to 0:2.24-6.el8_4 or later.

                            Upgrade Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support to 0:2.24-9.el8_6 or later.

                            Upgrade Red Hat Enterprise Linux 8.6 Telecommunications Update Service to 0:2.24-9.el8_6 or later.

                            Upgrade Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions to 0:2.24-9.el8_6 or later.

                            Upgrade Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions to 0:2.28-3.el8_8 or later.

                            Upgrade Red Hat Enterprise Linux 9 to 0:2.28-14.el9_6 or later.

                            Upgrade Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions to 0:2.25-12.el9_0 or later.

                            Upgrade Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions to 0:2.28-5.el9_2 or later.

                            Upgrade Red Hat Enterprise Linux 9.4 Extended Update Support to 0:2.28-11.el9_4 or later.

                            Workaround

                            Currently, no mitigation is available for this vulnerability.

                            References

                            5 more

                            Timeline

                            Days relative to CVE publication
                            -2t=0+2+4+6+8First public PoC19 Jun 2025 · t−9hCVE published19 Jun 2025 · t = 0

                            First public PoC 9 h before publication; not in CISA KEV. First PoC: guinea-offensive-security/CVE-2025-6019 (created 19 Jun 2025, found by us: backfilled).

                            PoC repositories

                            Found on GitHub.

                            17 PoCs · 1 pending · 5 informational · 3 not a PoC · 2 suspicious or fake

                            PoCs 17
                            RepositoryCreatedStarsAssessment
                            guinea-offensive-security/CVE-2025-6019 19 Jun 2025 −9 h 71 PoC
                            And-oss/CVE-2025-6019-exploit 20 Jun 2025 +23 h 4 PoC
                            JustThinkingHard/Annual-project 20 Jun 2025 +1.2 d 0 PoC
                            JustThinkingHard/HID-Attack 20 Jun 2025 +1.2 d 0 PoC
                            mistrust999/PAM-UDisks-PrivEsc-Metasploit 27 Jun 2025 +8.3 d 3 PoC via PoC Index
                            mistrustt/PAM-UDisks-PrivEsc-Metasploit 27 Jun 2025 +8.3 d 3 PoC via PoC Index
                            neko205-mx/CVE-2025-6019_Exploit 29 Jun 2025 +10 d 3 PoC
                            harshitvarma05/CVE-2025-6019 3 Sep 2025 +76 d 0 PoC via PoC Index
                            phamdinhquy2512/CVE-2025-6019-Exploitation 14 Dec 2025 +178 d 0 PoC
                            0x5chltz/CVE-2025-6019 9 Feb 2026 +235 d 0 PoC via PoC Index
                            muyuanlove/CVE-2025-6018-CVE-2025-6019-Privilege-Escalation-Exploit 9 Feb 2026 +235 d 12 PoC
                            symphony2colour/CVE-2025-6019-udisks-lpe-no-image 10 Feb 2026 +236 d 1 PoC
                            Goultarde/CVE-2025-6018_CVE-2025-6019_autopwn 10 Feb 2026 +236 d 4 PoC
                            tr3m0x/CVE-2025-6019 13 Feb 2026 +239 d 0 PoC
                            JM00NJ/CVE-2025-6019-udisks2-XFS-Resize-TOCTOU-Privilege-Escalation 13 Feb 2026 +239 d 4 PoC
                            MaxKappa/opensuse-leap-privesc-exploit 14 Feb 2026 +240 d 0 PoC via PoC Index
                            iOxsec/CVE-2025-6018-CVE-2025-6019-Privilege-Escalation-Exploit 22 Feb 2026 +248 d 0 PoC
                            Pending 1
                            RepositoryCreatedStarsAssessment
                            matesz44/CVE-2025-6018-19 11 Feb 2026 +237 d 0 Pending
                            Flags · score 15
                            • no network code found (normal for a local exploit)

                            Below the suspicion threshold (50); does not change the assessment.

                            Informational 5
                            RepositoryCreatedStarsAssessment
                            euxem/Analyse-faille-de-s-curit-CVE-2025-6018-CVE-2025-6019 30 Nov 2025 +164 d 0 Informational · write-up
                            robbin0919/CVE-2025-6019 11 Dec 2025 +175 d 0 Informational · write-up
                            AzureADTrent/CVE-2025-6018-and-CVE-2025-6019-Privilege-Escalation 9 Feb 2026 +235 d 1 Informational · write-up
                            localh0ste/CVE-2025-6018-and-CVE-2025-6019 13 Feb 2026 +239 d 1 Informational · write-up
                            V0idW1re/HTB-Pterodactyl-Writeup 8 Apr 2026 +293 d 0 Informational · write-up
                            Flags · score 30
                            • README gives an archive password

                            Below the suspicion threshold (50); does not change the assessment.

                            Not a PoC 3
                            RepositoryCreatedStarsAssessment
                            dreysanox/CVE-2025-6018_Poc 3 Jul 2025 +14 d 6 Not a PoC · unrelated
                            0rionCollector/Exploit-Chain-CVE-2025-6018-6019 9 Feb 2026 +235 d 4 Not a PoC · unrelated
                            DesertDemons/CVE-2025-6018-6019 12 Feb 2026 +238 d 5 Not a PoC · unrelated
                            Suspicious or fake 2
                            RepositoryCreatedStarsAssessment
                            MichaelVenturella/CVE-2025-6018-6019-PoC 9 Feb 2026 +235 d 16 Fake
                            m0r4a/CVE-2026-6018-9-Local-Privilege-Escalation-Chain 23 Apr 2026 +308 d 1 Fake

                            Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.