CVE-2026-27456
Beskrivelse
util-linux is a random collection of Linux utilities. Prior to version 2.41.4, a TOCTOU (Time-of-Check-Time-of-Use) vulnerability has been identified in the SUID binary /usr/bin/mount from util-linux. The mount binary, when setting up loop devices, validates the source file path with user privileges via fork() + setuid() + realpath(), but subsequently re-canonicalizes and opens it with root privileges (euid=0) without verifying that the path has not been replaced between both operations. Neither O_NOFOLLOW, nor inode comparison, nor post-open fstat() are employed. This allows a local unprivileged user to replace the source file with a symlink pointing to any root-owned file or device during the race window, causing the SUID binary to open and mount it as root. Exploitation requires an /etc/fstab entry with user,loop options whose path points to a directory where the attacker has write permission, and that /usr/bin/mount has the SUID bit set (the default configuration on virtually all Linux distributions). The impact is unauthorized read access to root-protected files and block devices, including backup images, disk volumes, and any file containing a valid filesystem. This issue has been patched in version 2.41.4.
Beskrivelsen gjengis slik kilden har publisert den, på engelsk.
Nøkkelfakta
- Publisert
- 2026-04-03
- Sist endret
- 2026-07-24
- Tildelt av
- security-advisories@github.com
- CVSS-vektor
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N- Scoret av
- security-advisories@github.com
- Sannsynlighet for utnyttelse
-
0.1 %
høyere enn 2 %
av alle kjente sårbarheter
EPSS, neste 30 dager, modell v2026.06.15 - Rettelse finnes
- Ja, se referansene
Berørte produkter
| Leverandør | Produkt | Versjoner | Status |
|---|---|---|---|
| Kernel | Util-linux | < 2.41.4 | Berørt |
Svakhetstype
-
CWE-269: Improper Privilege Management
The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.
-
CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition
The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check.
-
CWE-59: Improper Link Resolution Before File Access
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
Angrepsteknikker
Utledet gjennom svakhetstypen: CVE til CWE til CAPEC til ATT&CK. Dette viser hvilke teknikker svakhetsklassen historisk brukes til. Det er ikke en påstand om at nettopp denne sårbarheten er utnyttet slik.
- T1027.006: HTML Smuggling
- T1027.009: Embedded Payloads
- T1547.009: Shortcut Modification
- T1548: Abuse Elevation Control Mechanism
- T1564.009: Resource Forking
- T1574.005: Executable Installer File Permissions Weakness
- T1574.010: Services File Permissions Weakness
Referanser
- https://github.com/util-linux/util-linux/commit/5e390467b26a3cf3fecc04e1a0d482dff3162fc4
- https://github.com/util-linux/util-linux/releases/tag/v2.41.4
- https://github.com/util-linux/util-linux/security/advisories/GHSA-qq4x-vfq4-9h9g
- https://github.com/util-linux/util-linux/security/advisories/GHSA-qq4x-vfq4-9h9g
Relatert hos Berigo
Artikler
-
Nesten en tredel av sårbarhetene i ukens oversikt har ingen alvorlighetsgrad
Samme produkt
2026-08-25
Det ukentlige sårbarhetssammendraget fra CISA fører opp 3882 sårbarheter for uken som begynte 10. august. 1184 av dem står uten beregnet alvorlighets…
-
Sårbarhet i FreeBSD lar lokale brukere overskrive filer
Samme produkt
2026-06-06
CVE-2026-45257 i FreeBSDs kernel-TLS gjør at en lokal bruker med lesetilgang kan overskrive innholdet i en fil, og dermed eskalere rettigheter.
-
Fragnesia: ny rettighetseskalering i Linux-kjernen med publisert kode
Samme produkt
2026-05-14
CVE-2026-46300 lar en lokal bruker bli root. Rettelsen kom i kjernen 13. mai, men distribusjonene ligger etter.
Berører dette dere?
En sårbarhet betyr bare noe hvis dere kjører produktet, i en berørt versjon, et sted en angriper kommer til.