CVE-2026-7867: Udisks2: udisks2: local privilege escalation via as-user option spoofing
A flaw was found in udisks2. A local attacker with an active console session can exploit insufficient authorization checking on the 'as-user' option in the org.freedesktop.UDisks2.Filesystem.Mount() D-Bus method. This allows the attacker to spoof the 'as-user' parameter, mounting filesystems on behalf of arbitrary users, including privileged accounts. This can lead to local privilege escalation through mount point injection and manipulation of the mount namespace visible to privileged users.
Other sources
udisks2: LPE via as-user option spoofing in Filesystem.Mount
The org.freedesktop.UDisks2.Filesystem.Mount() D-Bus method accepts an "as-user" option that instructs the udisks daemon to mount a filesystem on behalf of a specified user rather than the calling user. This changes the mount path (typically under /run/media/$USER/) and grants the specified user unmount privileges.
Insufficient authorization checking on the "as-user" option allows a local attacker with an active console session to spoof the as-user parameter, mounting filesystems on behalf of arbitrary users including privileged accounts. This can be used to:
1. Mount attacker-controlled filesystem content under a target user's media directory 2. Manipulate the mount namespace visible to privileged users 3. Achieve local privilege escalation through mount point injection
The vulnerability requires local D-Bus access (typically an active logind session with allowactive authorization) but does not require administrative privileges to exploit.
Affected: udisks2 (storaged-project/udisks) - versions with as-user mount option support.
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/udisks2to a version that resolves this vulnerability.Fixed in 2.9.4-4+deb12u2Fixed in 2.10.1-12.1+deb13u2Fixed in 2.11.2-1
Event History
Frequently Asked Questions
What is the severity of CVE-2026-7867?
The severity of CVE-2026-7867 is high, with a score of 7.8.
How do I fix CVE-2026-7867?
To fix CVE-2026-7867, update to the latest version of udisks2 where the vulnerability has been remedied.
What type of vulnerability is CVE-2026-7867?
CVE-2026-7867 is a local privilege escalation vulnerability.
Who can exploit CVE-2026-7867?
A local attacker with an active console session can exploit CVE-2026-7867.
What impact does CVE-2026-7867 have on system security?
CVE-2026-7867 allows an attacker to spoof the 'as-user' parameter, potentially mounting filesystems without proper authorization.