CVE-2026-111581

Libblockdev: libblockdev: argument injection in ntfs/vfat label-setting helpers via udisks2 setlabel() d-bus method

Published Oct 16, 2026 CVSS 3.1 · 3.3 Low EPSS < 1% KEV · Not listed
Description
A flaw was found in libblockdev. The bd_fs_ntfs_set_label() and bd_fs_vfat_set_label() functions pass caller-supplied label values as bare positional arguments to the ntfslabel and fatlabel utilities without end-of-options separators or input validation for values beginning with a dash. This allows a label starting with '-' to be interpreted as a command-line flag by the spawned tool, potentially bypassing safety checks or causing unintended operations. This is reachable by unprivileged local users through the udisks2 Filesystem.SetLabel() D-Bus method without administrator authentication.

Analysis

AI-generated

Technical impact

A flaw in the libblockdev library allows a label supplied by a caller to be passed directly as positional arguments to the ntfslabel and fatlabel utilities. Because there is no separator or validation for values that begin with a dash, a label starting with '-' can be interpreted as a command‑line flag by the spawned tool, which may bypass safety checks or trigger unintended operations. This is classified as CWE‑88. The primary impact is local command‑injection that can change system state or execute arbitrary options when an unprivileged local user sets a filesystem label through the udisks2 Filesystem.SetLabel D‑Bus method, without needing administrator authentication. The CVSS score of 3.3 reflects that the vulnerability is low severity but still relevant for local users.

Affected Systems

The vulnerability affects the libblockdev component on Red Hat Enterprise Linux 10, 7, 8 and 9. Unprivileged local users in those distributions can trigger the flaw by invoking the udisks2 Filesystem.SetLabel D‑Bus method, which internally calls the failing bd_fs_ntfs_set_label and bd_fs_vfat_set_label functions.

Risk and Exploitability

The CVSS rating indicates a low severity (3.3), and the EPSS score is not available, implying the exploit probability is not quantified. The vulnerability is listed as not part of the CISA Known Exploited Vulnerabilities catalog. The likely attack vector is local, requiring a user with a shell or other means of requesting a setlabel operation via D‑Bus without admin rights. Because no privilege escalation is needed, any local user can exploit the injection, though the damage is limited to the effects of the injected command. Restricting the polkit policy so that org.freedesktop.udisks2.modify-device requires administrator authentication would reduce the attack surface, but it also affects normal desktop operations that change labels or UUIDs on user devices.

Remediation

Vendor Workaround

There is no practical mitigation that does not affect normal desktop functionality. Restricting the polkit policy for org.freedesktop.udisks2.modify-device to require administrator authentication (changing allow_active from "yes" to "auth_admin") would block the attack surface but would also require a password for all legitimate filesystem label and UUID operations on user-owned devices.


OpenCVE Recommended Actions

  • Configure the org.freedesktop.udisks2.modify-device polkit rule to require administrator authentication (auth_admin) so that only users with admin credentials can perform label changes.
  • Apply any available Red Hat security updates that fix the libblockdev flaw.
  • Restrict the execution of ntfslabel and fatlabel utilities for non‑trusted users, for example by placing the binaries in a directory with permissions that prevent execution by non‑root users.

Generated by OpenCVE AI on October 16, 2026 at 17:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A flaw was found in libblockdev. The bd_fs_ntfs_set_label() and bd_fs_vfat_set_label() functions pass caller-supplied label values as bare positional arguments to the ntfslabel and fatlabel utilities without end-of-options separators or input validation for values beginning with a dash. This allows a label starting with '-' to be interpreted as a command-line flag by the spawned tool, potentially bypassing safety checks or causing unintended operations. This is reachable by unprivileged local users through the udisks2 Filesystem.SetLabel() D-Bus method without administrator authentication.
Title Libblockdev: libblockdev: argument injection in ntfs/vfat label-setting helpers via udisks2 setlabel() d-bus method
First Time appeared Redhat
Redhat enterprise Linux
Weaknesses CWE-88
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
References
Metrics cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N'}

Weaknesses
  • CWE-88

    Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 6, 2026, 5:52 PM
Reserved
Oct 16, 2026, 12:59 PM
Status
Awaiting Analysis
Published
Oct 16, 2026, 4:17 PM
Modified
Nov 6, 2026, 6:17 PM
Severity
Low
Public date
Oct 16, 2026, 1:00 PM