Skip to content
OpenAdvisories

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.

Affected products

VendorProductAffectedFixed
GNOME gvfs 1.48.1 – < 1.62.0, 1.48.1 – < 1.60.3, 1.48.1 – < 1.58.5 1.62.0
Red Hat Red Hat Enterprise Linux 10 — —
Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support — —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions — —
Red Hat Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions — —
Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support — —
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat Enterprise Linux 7 — —
Red Hat Red Hat Enterprise Linux 8 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 gvfs 1.62.0-1 —
Debian 13 gvfs No fix yet —
Debian 12 gvfs No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS gvfs 1.60.0-1ubuntu0.1 USN-8845-1
Ubuntu 24.04 LTS gvfs 1.54.4-0ubuntu1~24.04.4 USN-8845-1
Ubuntu 22.04 LTS gvfs 1.48.2-0ubuntu1.2 USN-8845-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS gvfs 1.44.1-1ubuntu1.2+esm1 USN-8845-1
Ubuntu Pro 18.04 LTS gvfs 1.36.1-0ubuntu1.3.3+esm1 USN-8845-1
Ubuntu Pro 16.04 LTS gvfs 1.28.2-1ubuntu1~16.04.3+esm1 USN-8845-1
ReleasePackageFixed inAdvisory
RHEL 10 gvfs +6 1.54.4-4.el10_2.1 RHSA-2026:73998
RHEL 9 gvfs +7 1.48.1-8.el9_8.1 RHSA-2026:74370

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 gvfs +6 1.54.4-4.el10_2.1 ALSA-2026:73998
AlmaLinux 9 gvfs +7 1.48.1-8.el9_8.1 ALSA-2026:74370

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 gvfs 1.54.4-4.el10_2.1 RLSA-2026:98623, RLSA-2026:73998
Rocky Linux 10 gvfs-goa +5 1.54.4-5.el10_3.1 RLSA-2026:98623
Rocky Linux 9 gvfs 1.48.1-8.el9_8.1 RLSA-2026:98513, RLSA-2026:74370
Rocky Linux 9 gvfs-goa +6 1.48.1-9.el9_9.1 RLSA-2026:98513
ReleasePackageFixed inAdvisory
SLES 15 SP7 gvfs 1.52.2-150600.3.12.1 SUSE-SU-2026:5065-1
SLES 15 SP6 gvfs 1.52.2-150600.3.12.1 SUSE-SU-2026:5065-1
SLES 15 SP5 gvfs 1.48.2-150400.4.18.1 SUSE-SU-2026:5080-1
SLES 15 SP4 gvfs 1.48.2-150400.4.18.1 SUSE-SU-2026:5080-1
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 gvfs 1.59.90-160000.4.1 SUSE-SU-2026:24466-1
SLES for SAP 15 SP6 gvfs 1.52.2-150600.3.12.1 SUSE-SU-2026:5065-1
SLES for SAP 15 SP5 gvfs 1.48.2-150400.4.18.1 SUSE-SU-2026:5080-1
SLES for SAP 15 SP4 gvfs 1.48.2-150400.4.18.1 SUSE-SU-2026:5080-1
SLES 16.0 gvfs 1.59.90-160000.4.1 SUSE-SU-2026:24466-1
SLE HPC 15 SP5 gvfs 1.48.2-150400.4.18.1 SUSE-SU-2026:5080-1
SLE HPC 15 SP4 gvfs 1.48.2-150400.4.18.1 SUSE-SU-2026:5080-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed gvfs 1.60.3-1.1 openSUSE-SU-2026:11788-1
openSUSE Leap 16.0 gvfs 1.59.90-160000.4.1 openSUSE-SU-2026:22174-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 gvfs +6 1.56.1-1.amzn2023.0.3 ALAS2023-2026-3120

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 gvfs +6 1.54.4-4.el10_2.1 ELSA-2026-73998
Oracle Linux 9 gvfs +7 1.48.1-8.el9_8.1 ELSA-2026-74370

Advisories 18

References