CVE-2026-53613

util-linux mount target TOCTOU allows local privilege escalation

Published Oct 14, 2026 CVSS 3.1 · 7 High EPSS < 1% KEV · Not listed
Description
util-linux is a random collection of Linux utilities. In util-linux 2.17 through 2.41.6 and 2.42 through 2.42.3, and in 2.42.4 when the legacy `mount(2)` path is used without `/proc`, restricted non-root `mount` requests validate an `/etc/fstab` target before the mount operation re-resolves that pathname. A local low-privileged user authorized by an fstab `user` or `users` entry whose target has an attacker-writable ancestor can use `renameat2(RENAME_EXCHANGE)` to swap a path component and redirect an authorized mount to a root-owned location, such as mounting attacker-controlled content over `/etc/sudoers.d`, and thereby gain root privileges. Versions 2.41.5 and 2.42.2 pin targets for the new mount API, and 2.42.4 pins legacy targets through `/proc/self/fd`; the documented legacy fallback without `/proc` remains affected.

Analysis

AI-generated

Technical impact

The vulnerability is a TOCTOU race between target validation and the actual mount call. A low‑privileged user whose fstab entry uses the legacy mount path and whose target path contains an attacker‑writable directory can swap components of the path with renameat2(RENAME_EXCHANGE) just after validation but before the mount is performed. This allows the attacker to redirect a privileged mount operation to a root‑owned location, such as /etc/sudoers.d, and thereby gain root privileges. The weakness is a classic time‑of‑check to time‑of‑use flaw (CWE‑367).

Affected Systems

The affected product is util‑linux from the util‑linux project. Versions 2.17 through 2.41.6 and 2.42 through 2.42.3 are vulnerable when the legacy mount(2) path is used without /proc. The 2.42.4 release is affected for the legacy fallback without /proc and is only partially fixed by pinning legacy targets via /proc/self/fd. The new mount API in 2.41.5 and 2.42.2 includes target pinning, while 2.42.4 pins legacy targets through /proc/self/fd.

Risk and Exploitability

The CVSS score is 7, indicating a high severity impact. EPSS data shows a very low exploitation probability (< 1%). The vulnerability is not listed in the CISA KEV catalog, suggesting no widespread, documented exploitation as of the last update. An attacker who can modify fstab entries or create writable directories would be able to trigger the race and consequently achieve root privileges. The attack requires local user access and configuration changes in fstab, so the vector is limited to systems where such entries exist.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade util‑linux to a patched version (2.41.5, 2.42.2 or later, including 2.42.4 because it pins targets via /proc/self/fd).
  • Remove or restrict any fstab "user" or "users" entries whose target paths have attacker‑writable ancestors; if possible, delete the fstab entry entirely.
  • Ensure that the /proc filesystem is mounted and expose the legacy mount path through /proc/self/fd to avoid the legacy fallback without /proc.

Generated by OpenCVE AI on October 15, 2026 at 19:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-6442-1 util-linux security update
Ubuntu USN Ubuntu USN USN-8702-1 util-linux vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description util-linux is a random collection of Linux utilities. In util-linux 2.17 through 2.41.6 and 2.42 through 2.42.3, and in 2.42.4 when the legacy `mount(2)` path is used without `/proc`, restricted non-root `mount` requests validate an `/etc/fstab` target before the mount operation re-resolves that pathname. A local low-privileged user authorized by an fstab `user` or `users` entry whose target has an attacker-writable ancestor can use `renameat2(RENAME_EXCHANGE)` to swap a path component and redirect an authorized mount to a root-owned location, such as mounting attacker-controlled content over `/etc/sudoers.d`, and thereby gain root privileges. Versions 2.41.5 and 2.42.2 pin targets for the new mount API, and 2.42.4 pins legacy targets through `/proc/self/fd`; the documented legacy fallback without `/proc` remains affected.
Title util-linux mount target TOCTOU allows local privilege escalation
Weaknesses CWE-367
References
Metrics cvssV3_1

{'score': 7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Subscriptions

No data.

Weaknesses
  • CWE-367

    Time-of-check Time-of-use (TOCTOU) Race Condition

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 15, 2026, 3:08 PM
Reserved
Jun 9, 2026, 7:39 PM
Status
Awaiting Analysis
Published
Oct 14, 2026, 3:17 PM
Modified
Oct 16, 2026, 4:00 PM