ZeroHour

CVE-2026-88924

mass

TOCTOU symlink race in gvfs gvfsd-admin daemon allows local privilege escalation to root

CVSS 3.1
7.0 high
EPSS
Published
()
Modified
AI analysis

gvfs, the GNOME virtual filesystem layer, contains a Time-of-Check Time-of-Use (TOCTOU) flaw in its privileged gvfsd-admin daemon, which follows links when changing ownership of the private D-Bus sockets it creates in a user-controlled directory. An authenticated local attacker can win a race and swap the socket path for a symlink to an arbitrary root-owned file, such as /etc/pam.d/su, causing the daemon to chown that file to the attacker's user ID. By corrupting ownership of critical system files, the attacker achieves full local privilege escalation to root. Any system shipping the vulnerable gvfs admin backend is affected, most notably GNOME-based Linux distributions. No public proof-of-concept or in-the-wild exploitation has been reported; the issue was coordinated by Red Hat as the assigning CNA.

What to do: Install gvfs security updates from your distribution as soon as they are published (no fixed version number is provided in this data, so follow your vendor's advisory for the corrected package version). Confirm exposure by checking whether gvfs is installed (e.g., 'rpm -q gvfs' or 'dpkg -s gvfs') and consider restricting untrusted local shell users until systems are patched. Because the flaw requires local authenticated access and a hard-to-win race (CVSS AC:H), prioritize it alongside other local-privilege-escalation updates rather than as an emergency.

Affected
GNOME gvfs (gvfsd-admin daemon / admin backend)
Estimated exposure
massplausibly on the order of millions of Linux desktop installations (gvfs is typically installed as part of the GNOME desktop) — gvfs generally ships by default with the GNOME desktop used by major distributions (e.g., Ubuntu, Fedora, RHEL, Debian, openSUSE), whose combined desktop installed base is widely estimated in the millions; this is a deployment-pattern…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

A flaw was found in the admin backend of gvfs. The privileged gvfsd-admin daemon changes the ownership of newly created private D-Bus sockets by calling the link-following chown() function on a pathname inside a user-controlled directory. A local attacker can exploit this via a Time-of-Check Time-of-Use (TOCTOU) race condition and exchange the socket pathname with a symbolic link pointing to an arbitrary root-owned file (such as /etc/pam.d/su). The daemon subsequently follows the symlink and changes the ownership of the targeted root-owned file to the attacker's user ID. This allows an authenticated local attacker to modify critical system files, leading to a full local privilege escalation to root.

Weakness
CWE-367
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

In the news

No ingested article mentions this CVE yet.