bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2026-88924

7.0high

gvfs1.48.1in 4 of 4 releases

Not yet analysed by NVD. Matched on the vendor's record; this may change when NVD has analysed it.

Reach gvfs · 4 builds in 4 of 4 releases

full reviewcross-check✓ a member decided

v25.03.11.48.1
v26.01.01.48.1
v26.09.01.48.1
v26.10.0latest1.48.1
aarch64_minimal
x86_64
aarch64_minimal–
x86_64AAwaiting review
aarch64_minimal–
x86_64AAwaiting review
aarch64_minimal–
x86_64AAwaiting review
aarch64_minimal–
x86_64AAwaiting review

Description · NVD

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.

Published 2026-09-10NVD

CVSS 3.1Local · low privileges · no user interaction

How it is reached

Attack vector
Local
Attack complexity
High
Privileges required
Low
User interaction
None

What it costs

Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

References 11
Review Av26.10.0x86_64Not affectedFable 5.2 · high confidence · 2026-11-19

The CVE is in the privileged gvfsd-admin daemon, and this build does not compile or install that daemon. Buildroot only enables the admin backend when both BR2_PACKAGE_LIBCAP and BR2_PACKAGE_POLKIT are set; BR2_PACKAGE_POLKIT is not set, so meson was configured with admin: false.

The source is unfixed 1.48.1: the link-following chown() is in shared daemon code (daemon/gvfsdaemon.c:815) that is linked into the other gvfsd-* backends. It only runs when PKEXEC_UID is in the environment, which is how the polkit-launched admin daemon is started. With no gvfsd-admin, no admin.mount and no pkexec in the image, there is no root-privileged gvfs process to race against.

gvfs is in the image only because the Infix podman package selects it.

Evidence 10
  1. `-Dadmin=true` is passed only when `BR2_PACKAGE_LIBCAP` and `BR2_PACKAGE_POLKIT` are both `y`; otherwise `-Dadmin=false`.

    buildroot/package/gvfs/gvfs.mk:75-80

  2. `# BR2_PACKAGE_POLKIT is not set` (`BR2_PACKAGE_LIBCAP=y` at line 2894 is not enough on its own).

    output/.config:3773

  3. The meson configuration summary reports `admin : false` for this build.

    output/build/gvfs-1.48.1/buildroot-build/meson-logs/meson-log.txt:1783

  4. The `gvfsd-admin` program (`gvfsbackendadmin.c`) and the `admin` mount file are only added inside `if enable_admin`.

    output/build/gvfs-1.48.1/daemon/meson.build:344-358

  5. Zero matches for `gvfsd-admin` or `gvfsbackendadmin` here and in `compile_commands.json`: the admin backend was never compiled.

    output/build/gvfs-1.48.1/buildroot-build/build.ninja

  6. Installed daemons are `gvfsd`, `gvfsd-afp`, `gvfsd-afp-browse`, `gvfsd-burn`, `gvfsd-computer`, `gvfsd-dnssd`, `gvfsd-ftp`, `gvfsd-localtest`, `gvfsd-metadata`, `gvfsd-network`, `gvfsd-recent` and `gvfsd-trash`; there is no `gvfsd-admin`.

    output/target/usr/libexec/

  7. No `admin.mount`, so `gvfsd` cannot spawn an admin backend. A search of `output/target` for `pkexec*` finds nothing (only a `usr/share/polkit-1` data directory).

    output/target/usr/share/gvfs/mounts/

  8. The unfixed code: `handle_get_connection()` calls `chown (socket_path, uid, (gid_t)-1)` only when `PKEXEC_UID` is set, with the comment 'This is needed for gvfsd-admin to ensure correct ownership'. It is shared code, but dormant without the pkexec-launched admin daemon.

    output/build/gvfs-1.48.1/daemon/gvfsdaemon.c:807-816

  9. `select BR2_PACKAGE_GVFS`: gvfs is pulled in by the Infix `podman` package (`BR2_PACKAGE_PODMAN=y` at `output/.config:5248`), also listed in `PODMAN_DEPENDENCIES` at `package/podman/podman.mk:69`.

    package/podman/Config.in:47

  10. The only applied patch is `0001-build-Remove-incorrect-i18n.merge_file-argument.patch`, a build fix; nothing addresses this CVE.

    output/build/gvfs-1.48.1/.applied_patches_list

Version and patches

The version match is correct and the fix is absent: 1.48.1 still has the link-following chown() on the socket path at daemon/gvfsdaemon.c:815, and the one applied patch is an unrelated i18n build fix.

I could not determine the upstream affected range or fixed version from the tree, and the Red Hat errata were not consulted (no network access). The named-socket code dates from the 1.48 series (NEWS:5, 'admin: Fix regressions caused by port to named sockets').

The NOT_AFFECTED verdict rests on the feature being compiled out (-Dadmin=false), not on a fix.

Recommendation

Document as not applicable: the admin backend is not built (-Dadmin=false because BR2_PACKAGE_POLKIT is not set). No upgrade or backport is needed for this CVE.

Re-evaluate if BR2_PACKAGE_POLKIT is ever enabled. That would switch on gvfsd-admin automatically through gvfs.mk, and this build would then be affected.

Separately, it may be worth checking whether podman really needs gvfs; dropping the select in package/podman/Config.in would remove the package from the SBOM.

Open questions

The upstream fix commit and the exact fixed version are not identifiable from the tree.

The defconfig path named in the brief is outside this tree, and configs/x86_64_defconfig has no GVFS, POLKIT or LIBCAP lines. The selection was therefore confirmed from output/.config and the podman select only.

One combined shell command was denied by the sandbox. It was re-run as separate read-only commands, so nothing is missing from the review.

Members of Kernel Kit decide. Sign in if you are one.