Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| GNOME / gvfs | affected 1.48.1 before 1.62.0; affected 1.48.1 before 1.60.3; affected 1.48.1 before 1.58.5 |
| Red Hat / Red Hat Enterprise Linux 10 | unaffected 0:1.54.4-4.el10_2.1 before * |
| Red Hat / Red Hat Enterprise Linux 10.0 Extended Update Support | unaffected 0:1.54.4-2.el10_0.2 before * |
| Red Hat / Red Hat Enterprise Linux 9 | unaffected 0:1.48.1-8.el9_8.1 before * |
| Red Hat / Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | unaffected 0:1.48.1-4.el9_2.1 before * |
| Red Hat / Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions | unaffected 0:1.48.1-4.el9_4.1 before * |
| Red Hat / Red Hat Enterprise Linux 9.6 Extended Update Support | unaffected 0:1.48.1-6.el9_6.1 before * |
| Red Hat / Red Hat Enterprise Linux 6 | affected |
| Red Hat / Red Hat Enterprise Linux 7 | affected |
| Red Hat / Red Hat Enterprise Linux 8 | unaffected |
CWE
CWE-367
References
- https://access.redhat.com/errata/RHSA-2026:73998
- https://access.redhat.com/errata/RHSA-2026:74370
- https://access.redhat.com/errata/RHSA-2026:85939
- https://access.redhat.com/errata/RHSA-2026:85941
- https://access.redhat.com/errata/RHSA-2026:85942
- https://access.redhat.com/errata/RHSA-2026:85944
- https://access.redhat.com/security/cve/CVE-2026-88924
- https://bugzilla.redhat.com/show_bug.cgi?id=2531456
- https://gitlab.gnome.org/GNOME/gvfs/-/issues/875
ADP enrichment
No English description supplied.