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.
Published: 2026-10-16
Score: 3.3 Low
EPSS: < 1% Very Low
KEV: No
Impact: Command injection via filesystem label setting
Action: Apply Workaround
AI Analysis

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.

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

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 yet.

History

Sat, 17 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Low


Fri, 16 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 16 Oct 2026 15:45:00 +0000

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'}


Subscriptions

Redhat Enterprise Linux
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-10-16T17:06:09.524Z

Reserved: 2026-10-16T12:59:36.285Z

Link: CVE-2026-111581

cve-icon Vulnrichment

Updated: 2026-10-16T16:32:09.529Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-16T16:17:04.680

Modified: 2026-10-16T19:23:18.623

Link: CVE-2026-111581

cve-icon Redhat

Severity : Low

Publid Date: 2026-10-16T13:00:00Z

Links: CVE-2026-111581 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-21T20:22:22Z

Weaknesses
  • CWE-88

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