CVE-2026-88924
Received Received - Intake

gvfsd-admin Privilege Escalation via TOCTOU Race Condition

Vulnerability report for CVE-2026-88924, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-10

Last updated on: 2026-09-10

Assigner: redhat-SADP

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-10
Last Modified
2026-09-10
Generated
2026-09-10
AI Q&A
2026-09-10
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
gnome gvfs From 1.48.1 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-367 The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a Time-of-Check Time-of-Use (TOCTOU) race condition in the gvfs admin backend. The privileged gvfsd-admin daemon uses chown() on a path in a user-controlled directory to change ownership of private D-Bus sockets. A local attacker can replace the socket path with a symbolic link to a root-owned file like /etc/pam.d/su. The daemon follows the symlink and changes ownership of the target file to the attacker's user ID, allowing modification of critical system files and leading to full local privilege escalation to root.

Detection Guidance

Detecting this vulnerability requires monitoring for suspicious activity around gvfsd-admin socket creation. Use inotifywait to monitor the directory where sockets are created (typically /run/user/$UID/gvfs-admin). Commands like 'inotifywait -m /run/user/$(id -u)/gvfs-admin' can help detect socket creation events. Check for unexpected ownership changes on critical system files like /etc/pam.d/su using 'ls -l /etc/pam.d/su'.

Additionally, audit logs for gvfsd-admin processes with 'auditctl -w /usr/libexec/gvfsd-admin -p x -k gvfs-admin' and review logs with 'ausearch -k gvfs-admin'.

Impact Analysis

This vulnerability allows an authenticated local attacker to gain root privileges by exploiting a race condition. Successful exploitation could enable the attacker to modify critical system files, install malware, or perform other actions requiring root access. It requires local access, the ability to start the gvfsd-admin daemon, and winning a timing race condition.

Compliance Impact

This vulnerability could lead to unauthorized root access, compromising system integrity and confidentiality. For GDPR, it may result in unauthorized access to personal data. For HIPAA, it could allow access to protected health information. Compliance violations may occur due to the inability to maintain system security and data protection controls.

Mitigation Strategies

Immediately restrict access to gvfsd-admin by adjusting Polkit rules to require password authentication for starting the daemon. Alternatively, remove execute permissions from the binary with 'chmod -x /usr/libexec/gvfsd-admin'. Disable the gvfsd-admin service if not needed with 'systemctl disable --now gvfs-daemon'. Monitor system files for unauthorized ownership changes.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-88924. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart