Description
util-linux versions through 2.41.5 and 2.42.2 fail to check mount helper exit status before running post-mount hooks, allowing unprivileged users to execute privileged operations on pre-existing filesystems. Attackers can exploit X-mount.idmap or X-mount.owner hooks to clone filesystems with inherited suid bits or modify target inode permissions after a helper fails, achieving privilege escalation.
Severity (CVSS)
| Base score | 8.5 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-390 — Detection of Error Condition Without Action
Affected products
| Vendor | Product | Versions |
|---|---|---|
| util-linux | util-linux | 2.39 to <2.41.6; 2.42 to <2.42.3 |
References
- https://github.com/util-linux/util-linux/security/advisories/GHSA-m25x-3hj9-m26f (vendor-advisory)
- https://github.com/util-linux/util-linux/commit/f57cea130839c0af8dc0525274267ae4cfd66bbf (patch)
- https://github.com/util-linux/util-linux/commit/1d14676ea70003e9f5b2a6a76af0cadb1190411a (patch)
- https://github.com/util-linux/util-linux/commit/a15c00a9e545aa8b9cf6ec0f888ff6c7b3eaeedc (patch)
- https://github.com/util-linux/util-linux/blob/v2.42.2/libmount/src/context_mount.c#L476 (technical-description)
- https://github.com/util-linux/util-linux/blob/v2.42.2/libmount/src/context_mount.c#L892 (technical-description)
- https://github.com/util-linux/util-linux (product)
- https://www.vulncheck.com/advisories/util-linux-libmount-privilege-escalation-via-failed-mount-helper (third-party-advisory)
Generated from the official CVE List on 04 Sep 2026 07:42 UTC.