CWE-363: Race Condition Enabling Link Following
Filter
The product checks the status of a file or directory before accessing it, which produces a race condition in which the file can be replaced with a link before the access is performed, causing the product to access the wrong file.
What the weakness is: CWE-363 at MITRE. All weaknesses
Related attack patterns (CAPEC): 1
- CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
The attack patterns MITRE's CAPEC relates to CWE-363, as MITRE names them. Credits.
Ask an AI about CWE-363
Show the prompt
Explain CWE-363: Race Condition Enabling Link Following and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/363.html and https://cve.bz/cve/cwe/363?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.
By year: all 2026 2025 2024 2023 2022 2021
- 5.8CVE-2026-112938tox-dev filelockEPSS 0.1%
filelock is a platform-independent file lock for Python. From 3.30.0 until 4.2.1, On POSIX platforms, StrictSoftFileLock and AsyncStrictSoftFileLock validate the coordination directory in _ensure_protocol_directory but later reach the clai…
- 7.1CVE-2026-112940tox-dev filelockEPSS 0.2%
filelock is a platform-independent file lock for Python. From 3.20.4 until 4.2.1, ReadWriteLock let SQLite reopen the database and side files by name; on POSIX systems an attacker with rename access in a non-sticky parent can swap those na…
- 5.3CVE-2026-112914tox-dev filelockEPSS 0.1%
filelock is a platform-independent file lock for Python. From 4.1.0 until 4.2.1, SoftFileLock can restore a stale marker by name after moving it aside, allowing another local user with rename access in a non-sticky lock directory to swap i…
- 6.0CVE-2026-91205red hatEPSS 0.1%
A flaw was found in cockpit-files. A local unprivileged attacker can exploit a race condition during directory creation with owner assignment. By controlling a writable parent directory, the attacker can replace a newly created directory w…
- 6.0CVE-2026-91203red hatEPSS 0.1%
A flaw was found in cockpit-files. This vulnerability allows a local attacker to exploit a timing issue, known as a symlink race condition, during privileged file operations such as changing file ownership or permissions. By manipulating d…
- 6.1CVE-2026-71125oracle vm virtualboxEPSS 0.1%
Vulnerability in the Oracle VM VirtualBox product of Oracle Virtualization (component: Core). The supported version that is affected is 7.2.14. Easily exploitable vulnerability allows unauthenticated attacker with logon to the infrastruc…
- 5.4CVE-2025-13492hp image assistantEPSS 0.1%
A potential security vulnerability has been identified in HP Image Assistant for versions prior to 5.3.3. The vulnerability could potentially allow a local attacker to escalate privileges via a race condition when installing…
- 7.3CVE-2025-52881linuxfoundation runcEPSS 0.8%
runc is a CLI tool for spawning and running containers according to the OCI specification. In versions 1.2.7, 1.3.2 and 1.4.0-rc.2, an attacker can trick runc into misdirecting writes to /proc to other procfs files through the use of a rac…
- 8.4CVE-2025-52565linuxfoundation runcEPSS 0.8%
runc is a CLI tool for spawning and running containers according to the OCI specification. Versions 1.0.0-rc3 through 1.2.7, 1.3.0-rc.1 through 1.3.2, and 1.4.0-rc.1 through 1.4.0-rc.2, due to insufficient checks when bind-mounting `/dev/p…
- 7.3CVE-2025-31133linuxfoundation runcEPSS 1.3%
runc is a CLI tool for spawning and running containers according to the OCI specification. In versions 1.2.7 and below, 1.3.0-rc.1 through 1.3.1, 1.4.0-rc.1 and 1.4.0-rc.2 files, runc would not perform sufficient verification that the sour…
- 7.3CVE-2025-62596youki-dev youkiEPSS 0.4%
Youki is a container runtime written in Rust. In versions 0.5.6 and below, youki’s apparmor handling performs insufficiently strict write-target validation, and when combined with path substitution during pathname resolution, can allow wri…
- 7.3CVE-2025-62161youki-dev youkiEPSS 0.4%
Youki is a container runtime written in Rust. In versions 0.5.6 and below, the initial validation of the source /dev/null is insufficient, allowing container escape when youki utilizes bind mounting the container's /dev/null as a file mask…
- 3.6CVE-2024-45310linuxfoundation runcEPSS 0.3%
runc is a CLI tool for spawning and running containers according to the OCI specification. runc 1.1.13 and earlier, as well as 1.2.0-rc2 and earlier, can be tricked into creating empty files or directories in arbitrary locations in the hos…
- 8.5CVE-2024-27102pterodactyl wingsEPSS 0.8%
Wings is the server control plane for Pterodactyl Panel. This vulnerability impacts anyone running the affected versions of Wings. The vulnerability can potentially be used to access files and directories on the host system. The full scope…
- 6.3CVE-2022-21658EPSS 1.1%
Rust is a multi-paradigm, general-purpose programming language designed for performance and safety, especially safe concurrency. The Rust Security Response WG was notified that the `std::fs::remove_dir_all` standard library function is vul…
- 5.3CVE-2018-6693mcafeeEPSS 0.2%
An unprivileged user can delete arbitrary files on a Linux system running ENSLTP 10.5.1, 10.5.0, and 10.2.3 Hotfix 1246778 and earlier. By exploiting a time of check to time of use (TOCTOU) race condition during a specific scanning sequenc…