GNOME Gvfs
Gvfs: gvfs-admin socket ownership race permits local root
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 1.48.1, < 1.62.0
- >= 1.48.1, < 1.60.3
- >= 1.48.1, < 1.58.5
Fixed in 1.62.0, 1.60.3, 1.58.5
Fixed in 0:1.54.4-4.el10_2.1
Fixed in 0:1.54.4-5.el10_3.1
Fixed in 0:1.54.4-2.el10_0.2
Fixed in 0:1.48.1-8.el9_8.1
Fixed in 0:1.48.1-9.el9_9.1
Fixed in 0:1.48.1-4.el9_2.1
Fixed in 0:1.48.1-4.el9_4.1
Fixed in 0:1.48.1-6.el9_6.1
Mitigation
Upgrade gvfs to 1.62.0 or 1.60.3 or 1.58.5 or later.
Upgrade Red Hat Enterprise Linux 10 to 0:1.54.4-4.el10_2.1 or later.
Upgrade Red Hat Enterprise Linux 10 to 0:1.54.4-5.el10_3.1 or later.
Upgrade Red Hat Enterprise Linux 10.0 Extended Update Support to 0:1.54.4-2.el10_0.2 or later.
Upgrade Red Hat Enterprise Linux 9 to 0:1.48.1-8.el9_8.1 or later.
Upgrade Red Hat Enterprise Linux 9 to 0:1.48.1-9.el9_9.1 or later.
Upgrade Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions to 0:1.48.1-4.el9_2.1 or later.
Upgrade Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions to 0:1.48.1-4.el9_4.1 or later.
Upgrade Red Hat Enterprise Linux 9.6 Extended Update Support to 0:1.48.1-6.el9_6.1 or later.
Workaround
To mitigate this issue, adjust Polkit rules to require password authentication to start gvfsd-admin or remove execute permissions of the gvfsd-admin binary to prevent execution.
References
- Vendor advisory access.redhat.com/errata/RHSA-2026:73998
- Vendor advisory access.redhat.com/errata/RHSA-2026:74370
- Vendor advisory access.redhat.com/errata/RHSA-2026:85939
5 more
- Vendor advisory access.redhat.com/errata/RHSA-2026:85941
- Vendor advisory access.redhat.com/errata/RHSA-2026:85942
- Vendor advisory access.redhat.com/errata/RHSA-2026:85944
- Vendor advisory access.redhat.com/errata/RHSA-2026:98513
- Vendor advisory access.redhat.com/errata/RHSA-2026:98623
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.