CWE-363Base

Race Condition Enabling Link Following

Draft in the CWE catalog · 15 CVEs mapped

15
CVEs mapped
7.1
Median CVSS
What it is

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.

Recent examples
7.1cvss
CVE-2026-112940

CVE-2026-112940 - HIGH Severity Vulnerability

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 names to cause overwrite or unlink operations, while a writable adjacent hot journal is additionally required for attacker-chosen content overwrites. This issue is fixed in version 4.2.1.

HIGHno explanation yet
0%
epss
5.3cvss
CVE-2026-112914

CVE-2026-112914 - MEDIUM Severity Vulnerability

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 in a symbolic link and, on a runtime that follows the link and a same-filesystem target, make the lock user hard-link one of its files into the lock directory. This issue is fixed in version 4.2.1.

MEDIUMno explanation yet
0%
epss
6.0cvss
CVE-2026-91205

CVE-2026-91205 - MEDIUM Severity Vulnerability

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 with a symbolic link (symlink) before the ownership change operation (chown) is applied. This allows the attacker to redirect the ownership change to an arbitrary file, potentially leading to information disclosure or unauthorized modification of sensitive files.

MEDIUMno explanation yet
0%
epss
The record
Technical detail
CWE ID
CWE-363
Abstraction
Base
Structure
Simple
Status
Draft