Time-of-check Time-of-use (TOCTOU) Affecting gvfs-debugsource package, versions <0:1.54.4-4.el10_2.1


Severity

Recommended
0.0
high
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.17% (7th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS10-GVFSDEBUGSOURCE-20354155
  • published1 Oct 2026
  • disclosed9 Sept 2026

Introduced: 9 Sep 2026

NewCVE-2026-88924  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

Upgrade Centos:10 gvfs-debugsource to version 0:1.54.4-4.el10_2.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gvfs-debugsource package and not the gvfs-debugsource package as distributed by Centos. See How to fix? for Centos:10 relevant fixed versions and status.

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 Base Scores

version 3.1