Time-of-check Time-of-use (TOCTOU) Affecting gvfs-archive package, versions <0:1.56.1-1.amzn2023.0.3


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.22% (13th 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-AMZN2023-GVFSARCHIVE-20245806
  • published29 Sept 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 Amazon-Linux:2023 gvfs-archive to version 0:1.56.1-1.amzn2023.0.3 or higher.
This issue was patched in ALAS2023-2026-3120.

NVD Description

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