CVE-2026-53613
Description
When an /etc/fstab entry is configured with the user or users option, mount(8) validates the target path before performing the mount syscall, creating a Time-of-Check-Time-of-Use (TOCTOU) window. A local unprivileged user with write access to an ancestor directory of the mount target can swap that directory - for example by using renameat2(RENAME_EXCHANGE) - to redirect the mount to an arbitrary root-owned location, potentially escalating privileges to root.
Statement
This issue is rated Important and affects Red Hat products that ship util-linux, including Red Hat Enterprise Linux and OpenShift Container Platform, with fixes being pursued for the affected streams. Successful exploitation requires an /etc/fstab entry with the user or users option whose mount target has an attacker-writable ancestor directory, which limits the attack to specific configurations and is reflected in the high attack-complexity score.
Red Hat UBI images ship the affected util-linux package with mount(8) installed SUID root, and fixes are currently in progress across all active RHEL streams. Once the respective RHSA ships for each stream, updated UBI images are typically rebuilt within hours to days for Important severity CVEs. In the meantime, no action is required for standard (unprivileged) UBI container deployments, as the default container security controls prevent exploitation of this vulnerability:
- No
/etc/fstabexists in the default UBI images. Exploitation requires an fstab entry with the user or users mount option - without one, the attack has no entry point. - The mount syscall is blocked by default. Container runtimes do not grant CAP_SYS_ADMIN to containers, and the default seccomp profile further restricts mount operations.
Exploitation would require a non-standard configuration that simultaneously adds a custom fstab with user mount entries, grants CAP_SYS_ADMIN or runs the container in privileged mode, and provides writable directories in the mount target path. This combination does not occur in typical container workloads.
Mitigation
Review /etc/fstab and remove the user or users mount option from any entry where unprivileged user mounting is not strictly required. This eliminates the prerequisite for exploitation. For entries that must retain user mount capability, ensure all ancestor directories in the mount target path are owned by root and not writable by unprivileged users (mode 0755 or stricter), preventing the renameat2(RENAME_EXCHANGE) directory swap needed to exploit the race. These changes take effect immediately with no reboot required.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 7 | N/A | 7 |
| Attack Vector | Local | N/A | Local |
| Attack Complexity | High | N/A | High |
| Privileges Required | Low | N/A | Low |
| User Interaction | None | N/A | None |
| Scope | Unchanged | N/A | Unchanged |
| Confidentiality | High | N/A | High |
| Integrity Impact | High | N/A | High |
| Availability Impact | High | N/A | High |
Vector
Red Hat: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
cve.org: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Understanding the Weakness (CWE)
Integrity,Other
Technical Impact: Alter Execution Logic; Unexpected State
The attacker can gain access to otherwise unauthorized resources.
Integrity,Other
Technical Impact: Modify Application Data; Modify Files or Directories; Modify Memory; Other
Race conditions such as this kind may be employed to gain read or write access to resources which are not normally readable or writable by the user in question.
Integrity,Other
Technical Impact: Other
The resource in question, or other resources (through the corrupted one), may be changed in undesirable ways by a malicious user.
Non-Repudiation
Technical Impact: Hide Activities
If a file or other resource is written in this method, as opposed to in a valid way, logging of the activity may not occur.
Non-Repudiation,Other
Technical Impact: Other
In some cases it may be possible to delete files a malicious user might not otherwise have access to, such as log files.
Other
Technical Impact: Unexpected State
The product may perform invalid actions when the resource is in an unexpected state.
Acknowledgements
Red Hat would like to thank Xinyao Hu (Independent Security Researcher) for reporting this issue.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.