CVE-2026-78409
Linux Debian vulnerability analysis and mitigation

Overview

CVE-2026-78409 is a symlink traversal vulnerability in util-linux's X-mount.subdir feature that allows a local unprivileged user to escape the intended mount boundary and attach an arbitrary host path at an fstab-authorized mountpoint. The flaw was introduced by commit ae19f7546ccb (2025-04-15) and affects util-linux versions v2.42 through v2.42.2 on Linux kernel 6.15 and later. It was reported by Zhuorao Yang (Huawei Cloud) and publicly disclosed on September 2, 2026. The CVSS v3.1 base score is 7.0 (High) (Red Hat CVE, GitHub Advisory).

Technical details

The root cause is CWE-59 (Improper Link Resolution Before File Access — 'Link Following'). On Linux >= 6.15, libmount's hook_mount.c uses a detached-tree fast path for X-mount.subdir=, passing the configured subdirectory string directly to open_tree() with the flags AT_NO_AUTOMOUNT | AT_SYMLINK_NOFOLLOW | AT_RECURSIVE | OPEN_TREE_CLOEXEC | OPEN_TREE_CLONE. Critically, AT_SYMLINK_NOFOLLOW only prevents following a symlink in the final path component — it does not block traversal through intermediate symlinks and does not provide RESOLVE_BENEATH-style containment. An attacker can craft a subdir path such as link/passwd (where link is a symlink to /etc) or use procfs paths like self/root/etc to escape the mounted filesystem and have move_mount() attach the host path at the fstab-authorized mountpoint. A public PoC demonstrating both the intermediate symlink and procfs escape primitives is included in the upstream GitHub Security Advisory (GitHub Advisory, Red Hat Bugzilla).

Impact

A local unprivileged user with an fstab-authorized X-mount.subdir= entry can attach an arbitrary host path (e.g., /etc) at their permitted mountpoint, gaining unauthorized read and traversal access to sensitive files such as /etc/passwd. If the fstab entry also uses post-mount hooks like X-mount.owner=, X-mount.group=, X-mount.mode=, or idmapped mount options, the impact escalates to root-privileged metadata modification or unexpected idmapped exposure of host paths, affecting confidentiality, integrity, and availability at a High level (GitHub Advisory, Red Hat CVE).

Exploitability

A proof-of-concept (PoC) is publicly available in the upstream GitHub Security Advisory, demonstrating both the intermediate symlink traversal and the procfs self/root/etc escape primitives. Exploitation requires a local account with low privileges, a Linux kernel >= 6.15, and an fstab entry permitting unprivileged mounts with X-mount.subdir=; these preconditions make it non-trivially automatable. The EPSS score is approximately 0.122%, and there is no evidence of in-the-wild exploitation or CISA KEV catalog listing as of the disclosure date. NVD SSVC classifies exploitation status as 'poc' (GitHub Advisory, Red Hat CVE).

Exploitation steps

  1. Reconnaissance: Identify a target Linux system running kernel >= 6.15 with util-linux v2.42–v2.42.2 and an /etc/fstab entry that includes user or users and X-mount.subdir= options, permitting unprivileged mounts.
  2. Prepare escape path: As the unprivileged user, identify or create a filesystem or procfs path that contains an intermediate symlink to a sensitive host directory. For example, use procfs: the path self/root/etc within a detached proc tree resolves through procfs's self/root link to the caller's host root and then to /etc.
  3. Craft malicious fstab subdir value: If the attacker controls the mounted filesystem contents, place a symlink (e.g., link -> /etc) inside it. The X-mount.subdir=link value will then cause open_tree() to traverse the symlink and resolve to host /etc.
  4. Trigger the mount: Execute mount /tmp/user-subdir-target as the unprivileged user. libmount calls open_tree(fd, "self/root/etc", AT_NO_AUTOMOUNT | AT_SYMLINK_NOFOLLOW | AT_RECURSIVE | OPEN_TREE_CLOEXEC | OPEN_TREE_CLONE), which succeeds and returns a file descriptor pointing to the host /etc.
  5. Attach host path: libmount calls move_mount() to attach the returned detached tree to the fstab-authorized mountpoint, exposing the host /etc (including /etc/passwd) at the user's mountpoint.
  6. Access sensitive data or escalate: Read sensitive files from the mounted path, or leverage additional post-mount hooks (X-mount.owner=, X-mount.mode=) to modify metadata on the escaped host path with root privileges (GitHub Advisory, Red Hat Bugzilla).

Indicators of compromise

  • Logs: Audit logs (/var/log/audit/audit.log) showing mount syscall events by non-root users targeting fstab entries with X-mount.subdir=; unexpected open_tree or move_mount syscall records from unprivileged UIDs.
  • File System: Unexpected mount entries in /proc/mounts or findmnt output where a user-owned mountpoint exposes host paths like /etc, /root, or other sensitive directories instead of a filesystem subdirectory.
  • Process: Unusual child processes of mount (SUID) spawned by non-root users on Linux >= 6.15 systems; strace or auditd records of SYS_open_tree and SYS_move_mount syscalls from unprivileged processes.
  • Network: (Not directly applicable — this is a local privilege escalation; monitor for subsequent lateral movement or data exfiltration following filesystem exposure.)

Mitigation and workarounds

Upgrade to util-linux v2.41.6 or v2.42.3, which contain the upstream fix. Red Hat has released patched packages (version 2.42.2-3.4.hum1) for Red Hat Hardened Images via RHSA-2026:63162; Slackware and Alpine Linux have also issued updates. As an immediate workaround, remove or disable any /etc/fstab entries that specify X-mount.subdir= for unprivileged users (user/users options) until the fix is applied. Systems running Linux kernel < 6.15 or util-linux < v2.42 are not affected by this specific code path (Red Hat CVE, Red Hat Errata, GitHub Advisory).

Community reactions

The vulnerability was acknowledged by the util-linux maintainer Karel Zak, who published the GitHub Security Advisory (GHSA-8f2p-47x3-43mv) on September 2, 2026. Red Hat Product Security assigned a High severity rating and issued a rapid patch via RHSA-2026:63162 on September 3, 2026. The oss-security mailing list carried a disclosure post, and Linux security aggregators including LinuxSecurity.com and linuxcompatible.org covered the Slackware and multi-distro patch rollout. Social media activity was limited, with RedPacketSecurity noting the CVE on Mastodon (GitHub Advisory, Red Hat Errata).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

util-linux

Affected

sid

util-linux: 2.42.3-1

Fixed

trixie

util-linux

Affected

Ubuntu

Unknown

bionic (esm-infra)

util-linux

Unknown

devel

util-linux

Unknown

focal (esm-infra)

util-linux

Unknown

jammy

util-linux

Unknown

noble

util-linux

Unknown

resolute

util-linux

Unknown

trusty (esm-infra-legacy)

util-linux

Unknown

xenial (esm-infra-legacy)

util-linux

Unknown

RHEL / CentOS

Affected

OpenShift

Not Affected

RHEL 8

Not Affected

RHEL 9

Not Affected

RHEL 10

Not Affected

Alpine

Fixed

edge

util-linux: 2.42.3-r0

Fixed

SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-94106HIGH8.7
  • Linux Debian logoLinux Debian
  • php-getid3
NoNoSep 20, 2026
CVE-2026-93990HIGH8.7
  • Linux Debian logoLinux Debian
  • expat
NoYesSep 19, 2026
CVE-2026-94108HIGH8.3
  • Linux Debian logoLinux Debian
  • php-getid3
NoNoSep 20, 2026
CVE-2026-93962MEDIUM5.5
  • Linux Debian logoLinux Debian
  • kamailio
NoNoSep 20, 2026
CVE-2026-82560NONEN/A
  • Linux Debian logoLinux Debian
  • seal-perl
NoYesSep 19, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management