Skip to main content

util-linux CVE-2026-53613

| EUVDEUVD-2026-101124 HIGH
Time-of-check Time-of-use (TOCTOU) Race Condition (CWE-367)
2026-10-14 GitHub_M
7.0
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Local fstab-authorized user access
  2. Delivery
    Stage attacker-writable ancestor directory
  3. Exploit
    Win renameat2(RENAME_EXCHANGE) TOCTOU race
  4. Execution
    Redirect authorized mount onto /etc/sudoers.d
  5. Impact
    Load attacker sudoers, escalate to root

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture TOCTOU prevention
Exploitation Conditions

Exploitation requires ALL of: (1) the attacker is a local, low-privileged user explicitly authorized to perform the mount by an /etc/fstab entry carrying the user or users option; (2) the configured mount target has an ancestor directory component that is writable by that attacker; and (3) a vulnerable code path - either versions 2.17-2.41.6 or 2.42-2.42.3 (any API), or 2.42.4 specifically when the legacy mount(2) fallback is used WITHOUT /proc available (the documented no-/proc fallback). Limiting factors: this is not remotely reachable (local only); the attacker must already hold an fstab mount authorization (not available in default single-user or locked-down fstab setups); success depends on winning the renameat2(RENAME_EXCHANGE) race between target validation and re-resolution (AC:H), so exploitation is non-deterministic; and fully patched systems using the new mount API (>=2.41.5 / >=2.42.2) or 2.42.4 with /proc present are not affected.

Impact

This is a genuine local privilege escalation to root, but with meaningful barriers that keep it below 'drop everything' priority. The CVSS 3.1 vector (AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H, base 7.0 HIGH) is internally consistent with the description: local attack vector (no remote reachability), high attack complexity reflecting the TOCTOU race window that must be won, low privileges meaning the attacker must already be a user explicitly authorized by an fstab user/users entry, and full C/I/A impact because success yields root (e.g. overmounting /etc/sudoers.d). No EPSS score was provided in the input, so exploitation probability cannot be quantified. There is no CISA KEV listing and no public exploit was supplied, so the correct status is 'no public exploit identified at time of analysis' - this is NOT confirmed active exploitation despite the clean root-compromise outcome. The CWE-367 (TOCTOU) classification matches the described renameat2(RENAME_EXCHANGE) component-swap race precisely. Net: a real, well-understood bug worth patching on multi-user hosts, but its exploitation preconditions (authorized fstab entry, attacker-writable ancestor, winning a race) make it far more relevant to shared/multi-user systems than to the typical single-admin server, and the AC:H race condition tempers real-world reliability.

Exploit ScenarioDerived

A low-privileged local user who is authorized by an /etc/fstab user/users entry to mount a specific target prepares an attacker-writable ancestor directory on that target path. While issuing the authorized mount, they use renameat2(RENAME_EXCHANGE) to swap a path component in the window between fstab-target validation and the kernel re-resolving the pathname, redirecting the mount onto a root-owned location such as /etc/sudoers.d. No public exploit code was provided, and the AC:H race window means the swap must be timed to win the TOCTOU race.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 14, 2026

Local privilege escalation to root in util-linux's libmount affects versions 2.17 through 2.41.6 and 2.42 through 2.42.3, and also 2.42.4 when the legacy mount(2) path is used without /proc available. A local, low-privileged user who is already authorized by an /etc/fstab entry carrying the user or users option can exploit a time-of-check/time-of-use race: libmount validates the fstab target path and then the mount operation re-resolves that pathname, so an attacker who controls a writable ancestor directory can use renameat2(RENAME_EXCHANGE) to swap a path component and redirect the authorized mount to a root-owned location such as /etc/sudoers.d, gaining root. Exploitation is local only, requires the attacker to already hold an fstab mount authorization plus a writable ancestor on the configured target, and depends on winning the race (assessed AC:H), so it is non-deterministic; patched code paths using the new mount API (2.41.5 / 2.42.2 and later) or 2.42.4 with /proc present are not affected, and no public exploit identified at time of analysis.

RemediationAI

Vendor-released patch: upgrade util-linux to 2.42.4 (or later) with /proc mounted so legacy targets are pinned through /proc/self/fd, or to a release carrying the new-API target pinning (2.41.5 / 2.42.2 and later) if only the new mount API is in use; upstream fixes are visible in the referenced commits (for example https://github.com/util-linux/util-linux/commit/0b010025a0e429bc80355c94db86a843395d49e2) and the advisory at https://github.com/util-linux/util-linux/security/advisories/GHSA-8gj5-72r3-428g. Where patching is delayed, the highest-value compensating control is to remove the user or users option from /etc/fstab entries whose targets are not fully root-controlled, which eliminates the precondition that a non-root user is authorized to mount that path at all - the trade-off being that legitimate unprivileged mount workflows (typically removable media or user-managed loop images) will stop working for those users. Equally effective is ensuring every mount point referenced by a user/users fstab entry, and every one of its ancestor directories, is owned by root and not group- or world-writable (and avoiding targets placed under user-owned or sticky shared directories such as /tmp or a user's home), since the attack requires an attacker-writable ancestor to perform the renameat2(RENAME_EXCHANGE) swap; this may require relocating existing user mount points to a root-owned directory. Combining both measures is advisable, because the exploit depends on all prerequisites (fstab authorization, writable ancestor, vulnerable legacy path) holding simultaneously, and reliably winning the race is itself non-deterministic.

Affected VersionsENISA

util-linux 2.42, ≤ 2.42.4
util-linux 2.17, ≤ 2.41.6

Affected Packages

euvd util_linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a CWE-367 time-of-check/time-of-use race in util-linux's libmount restricted-mount handling, which applies when a non-root user mounts a target permitted by an /etc/fstab entry marked user or users. Historically libmount validated the fstab target by path name and then the underlying mount operation (the new mount API or the legacy mount(2) hook) re-resolved that same pathname, leaving a window in which a component of the target path could be replaced. The upstream fix introduces a pinned target file descriptor: mnt_context_get_target_fd() opens the target with ul_open_no_symlinks(target, O_PATH | O_CLOEXEC, 0) (a RESOLVE_NO_SYMLINKS-style open) in prepare_target() whenever mnt_context_target_fd_required() reports a restricted context, and hook_attach_target() then performs move_mount() against that fd with MOVE_MOUNT_F_EMPTY_PATH | MOVE_MOUNT_T_EMPTY_PATH instead of the path string, closing the re-resolution window; mnt_context_reopen_target_fd() re-opens the fd afterwards so it refers to the mounted filesystem root. The legacy hook (hook_mount_legacy.c) re-opens the same pinned fd, and the 2.42.4 release pins legacy targets through /proc/self/fd; the documented legacy fallback that must work without /proc is the remaining exposure, which is why 2.42.4 is only affected in that specific configuration. The CPE cpe:2.3:a:util-linux:util-linux:*:*:*:*:*:*:*:* is version-agnostic, so CPE matching alone will not distinguish fixed from vulnerable builds and version-based detection is required.

Know when Util Linux gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.0 HIGH
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.0 HIGH

Local-only TOCTOU race (AV:L, AC:H) exploitable by an fstab-authorized non-root user (PR:L) with no interaction, yielding full root compromise (C:H/I:H/A:H).

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A privilege-escalation flaw in util-linux's libmount component-present by default on virtually every Linux server, container host, and workstation in the estate-allows an ordinary local user to obtain root on affected systems. The attacker must already hold a mount authorization granted through /etc/fstab plus write access to a parent directory of the configured mount target, and must win a timing race, so exploitation is opportunistic rather than trivial and is confined to hosts where untrusted users have local shell access. Leadership should care because root compromise of a Linux host undermines every downstream control-logging, segmentation, and data protection-and no vendor patch is currently available, leaving mitigation to configuration and permission hygiene.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: remove or restrict /etc/fstab entries using the user or users option; ensure all ancestor directories of mount targets are root-owned and not writable by unprivileged users; limit local interactive shell access on affected hosts; monitor for anomalous writes or renames into root-owned system paths such as /etc/sudoers.d; confirm exposure status relative to the new mount API code paths (2.41.5 / 2.42.2 and later) or 2.42.4 with /proc present.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Ubiquitous
util-linux mount is core userland on virtually every Linux system
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +35
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
CVE-2015-5224 CRITICAL
9.8 Aug 23

The mkostemp function in login-utils in util-linux when used incorrectly allows remote attackers to cause file name coll

CVE-2021-37600 MEDIUM POC
5.5 Jul 30

An integer overflow in util-linux through 2.37.1 can potentially cause a buffer overflow if an attacker were able to use

CVE-2024-28085 LOW POC
3.3 Mar 27

wall in util-linux through 2.40, often installed with setgid tty permissions, allows escape sequences to be sent to othe

CVE-2026-76642 HIGH
8.5 Sep 03

Privilege escalation in util-linux through versions 2.41.5 and 2.42.2 allows local low-privilege users to execute privil

CVE-2014-9114 HIGH
7.8 Mar 31

Blkid in util-linux before 2.26rc-1 allows local users to execute arbitrary code. Rated high severity (CVSS 7.8), this v

CVE-2016-2779 HIGH
7.8 Feb 07

runuser in util-linux allows local users to escape to the parent session via a crafted TIOCSTI ioctl call, which pushes

CVE-2018-7738 HIGH
7.8 Mar 07

In util-linux before 2.32-rc1, bash-completion/umount allows local users to gain privileges by embedding shell commands

CVE-2026-53614 HIGH
7.0 Oct 14

Local privilege escalation in the SUID-root mount(8) utility shipped with util-linux 2.39.1 through 2.41.4 and 2.42 thro

CVE-2026-53612 HIGH
7.0 Oct 14

Local privilege escalation in util-linux's SUID mount utility affects versions 2.39 through 2.41.4 and 2.42 through 2.42

CVE-2015-5218 LOW POC
2.1 Nov 09

Buffer overflow in text-utils/colcrt.c in colcrt in util-linux before 2.27 allows local users to cause a denial of servi

CVE-2022-0563 MEDIUM
5.5 Feb 21

A flaw was found in the util-linux chfn and chsh utilities when compiled with Readline support. Rated medium severity (C

CVE-2026-27456 MEDIUM
4.7 Apr 03

Unauthorized read access to root-owned files via TOCTOU race condition in util-linux mount binary (versions prior to 2.4

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy