Local root privilege escalation in GNOME gvfs via a symlink race in gvfsd-admin

Note: This data is for reference and cybersecurity research purposes only.CyStack advises users not to use this information for unlawful purposes.

What is CVE-2026-88924?

CVE-2026-88924 is a vulnerability classified as Time-of-check Time-of-use (TOCTOU) Race Condition, affecting gvfs (affected versions: 1.48.1 – < 1.62.0, 1.48.1 – < 1.60.3, and other affected versions), Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 10.0 Extended Update Support, and 6 more products. This vulnerability is rated High, with a CVSS score of 7. Public exploit code or evidence is available for this vulnerability, but that does not confirm exploitation in the wild.

Overview

Original source data

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.

Affected products and scope

The flaw is in GNOME gvfs, specifically the privileged gvfsd-admin admin backend. gvfs releases from the earliest affected series up to the fixed builds in each maintained stable branch are in scope, and the exact ranges are shown alongside this entry. Red Hat Enterprise Linux releases that ship the gvfs package are listed as affected, including extended update support and SAP solutions streams, and a fixed package is available. Any Linux system with the gvfs package installed carries the vulnerable helper, whether or not anyone uses GNOME file browsing day to day. The record does not identify configurations that are explicitly unaffected beyond the fixed builds.

Technical details

The weakness is a time-of-check to time-of-use race, a class of bug where a program checks one thing and then acts on a value that an attacker changed in between. The privileged gvfsd-admin daemon creates private D-Bus sockets inside a directory the calling user controls, then calls chown() on the pathname to set the socket's ownership. chown() resolves symbolic links, so whatever the pathname points at is what gets its owner changed. Because the pathname is resolved after the daemon decides to act on it, a local attacker can replace the socket path with a symlink to any root-owned file during that window, such as /etc/pam.d/su. The daemon follows the link and the file's owner becomes the attacker's user ID. The record classifies this as CWE-367.

Exploitability

This is a local attack. It requires an authenticated account on the machine and low privileges, and no user interaction from anyone else. The record rates attack complexity as high, which fits a race that has to be won repeatedly, but no special position on the network is needed. A public exploit exists for this issue. The record does not list it as known to be exploited in the wild.

Technical impact

The direct result is that ownership of a file chosen by the attacker, but owned by root, is transferred to the attacker's user ID. That is a change of file metadata by a root process, not a memory corruption bug and not something that executes attacker code by itself. The escalation comes from which file is chosen: the record names /etc/pam.d/su as an example, and taking ownership of an authentication configuration file lets the attacker rewrite it and then obtain root. Impact is limited to what the attacker can achieve by owning a system file, but on a normal Linux host that is enough for full root compromise, with the confidentiality, integrity and availability consequences that follow.

Business impact

The attacker needs only an ordinary local account, but ends up with root on the host. That means control over system authentication configuration, the ability to add accounts or persistence, and access to every file on the machine, including other users' data and any credentials or keys stored there. For an organisation, a shared workstation, a lab machine, a jump host or any Linux system with GNOME components installed effectively loses its user separation: one compromised or malicious account becomes full control of the box. Rebuilding a host that has been owned this way is expensive, and if the machine held regulated data the incident may bring notification and reporting obligations. Teams that run Linux desktops or GNOME-based servers and let users log in locally should care; single-user systems with no untrusted local accounts are a much lower concern.

Remediation

Apply the fixed gvfs package for your distribution. Red Hat has published updated packages for the affected Enterprise Linux releases, and GNOME has fixed gvfs in each maintained branch; the fixed builds are the ones above the ranges shown next to this entry. This is the only complete fix, because the defect is in how the daemon resolves the path it acts on. If patching has to wait, treat local accounts on the affected host as fully trusted: remove unused accounts, restrict who can log in locally or over SSH, and do not hand out shells on shared multi-user machines running gvfs. Those measures reduce the number of people who can reach the race, but they do not remove the bug, and the record does not describe a supported workaround.

Detection

Look for unexpected ownership changes on system files owned by root, particularly authentication configuration and anything under the system configuration directories. Audit logs that record chown or file attribute changes, and host intrusion detection on system paths, are the most direct signal. Process accounting or audit rules covering execution of the gvfsd-admin daemon help you find hosts where the helper is active and who triggered it. Watch for symbolic links appearing in directories used for per-user D-Bus sockets, and for local users creating and renaming files in those directories repeatedly, which is what a race attempt looks like. Because the attack converts into root, also review for the usual post-exploitation signs: new privileged accounts, modified authentication configuration, and unexpected setuid binaries.

Sources (15)
Learn more

Run an in-depth assessment with complete web risk management

CyStack VulnScan continuously discovers assets, validates vulnerabilities, and helps security teams prioritize remediation across the organization.