Time-of-check Time-of-use (TOCTOU) Affecting gvfs-mtp package, versions <0:1.48.1-8.el9_8.1


Severity

Recommended
0.0
high
0
10

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
0.18% (8th 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-ORACLE9-GVFSMTP-20366848
  • published1 Oct 2026
  • disclosed10 Sept 2026

Introduced: 10 Sep 2026

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

How to fix?

Upgrade Oracle:9 gvfs-mtp to version 0:1.48.1-8.el9_8.1 or higher.
This issue was patched in ELSA-2026-74370.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gvfs-mtp package and not the gvfs-mtp package as distributed by Oracle. See How to fix? for Oracle:9 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