CVE Database›CVE-2025-6019

CVE-2025-6019

libblockdev: LPE from allow_active to root in libblockdev via udisks

Loading…

Severity

Important

Red Hat Product Security

7

CVSS 3.1

Review impact separately from score.

Published · June 17, 2025

Updated · June 30, 2026

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.

Statement

While this vulnerability could allow a remote attacker to gain full control of the system, the default configuration of Red Hat offerings prevent such broad exploitation. Systems are at heightened risk if Policy Kit (polkit) were modified to allow remote users (for example SSH) to appear like regular local users. Due to the unlikely configuration required, the conditions to remotely exploit this vulnerability are typically not present, reducing the impact to Important.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Currently, no mitigation is available for this vulnerability.

CVSS / CWE

CVSS 3.1 · 7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

CWE-250 · Execution with Unnecessary Privileges