Gvfs: gvfs-admin socket ownership race permits local root (GNOME gvfs)

CVE-2026-88924
HIGH 7.0

En bref

Source
NVD
EPSS
EPSS 0.22 % · centile 13 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
redhat
Statut NVD
Awaiting Analysis

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.

Faiblesses (CWE)

  • CWE-367 — Situation de compétition TOCTOU

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.0CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:Hredhat
CVSS 3.1HIGH 7.0CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · secalert@redhat.com (Secondary)

Références européennes

Produits affectés

ProduitVersions
GNOME · gvfsaffected 1.48.1 < 1.62.0 ; affected 1.48.1 < 1.60.3 ; affected 1.48.1 < 1.58.5
Red Hat · Red Hat Enterprise Linux 10unaffected 0:1.54.4-4.el10_2.1 < *
Red Hat · Red Hat Enterprise Linux 10.0 Extended Update Supportunaffected 0:1.54.4-2.el10_0.2 < *
Red Hat · Red Hat Enterprise Linux 9unaffected 0:1.48.1-8.el9_8.1 < *
Red Hat · Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsunaffected 0:1.48.1-4.el9_2.1 < *
Red Hat · Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionsunaffected 0:1.48.1-4.el9_4.1 < *
Red Hat · Red Hat Enterprise Linux 9.6 Extended Update Supportunaffected 0:1.48.1-6.el9_6.1 < *
Red Hat · Red Hat Enterprise Linux 6
Red Hat · Red Hat Enterprise Linux 7
Red Hat · Red Hat Enterprise Linux 8

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD