A vulnerability in the tox-dev filelock Python library versions 4.2.1 through before 4.3.0 allows a race condition on POSIX filesystems with atomic name exchange. The SoftFileLock mechanism can mistakenly treat an active recovery record as abandoned, enabling two local accounts to enter the same critical section concurrently. This issue is resolved in version 4.3.0.
A vulnerability in the tox-dev filelock Python package versions 4.2.1 through 4.2.x on POSIX systems allows a ReadWriteLock to remove empty directories from an unrelated directory owned by the locking account. This occurs when the shared parent directory lacks the sticky bit and another local user can rename directories. The impact is limited to empty directories. The issue is fixed in version 4.3.0.
CVE-2026-144342 is a low-severity vulnerability in the tox-dev filelock Python library affecting versions prior to 4.3.0 on Windows. It involves uncontrolled resource consumption where a local user with read access to a shared strict-lock claims directory can cause delays in acquiring a StrictSoftFileLock beyond its timeout by leveraging an aged private record left by an interrupted acquisition. This issue results in delayed lock acquisition but does not impact confidentiality or integrity. The vulnerability is fixed in version 4.3.0.
CVE-2026-144341 is a low-severity vulnerability in the tox-dev filelock Python package prior to version 4.3.0. On Windows, a local user with read access to the SQLite lock database can cause delays in cancelling an AsyncReadWriteLock acquisition due to Windows opportunistic locking behavior. This delay can cause tasks and application shutdowns to wait longer than expected, up to the lock's timeout. The issue is fixed in version 4.3.0.
A resource pool exhaustion issue exists in tox-dev's filelock Python library prior to version 4.3.0. Concurrent AsyncSoftReadWriteLock waits can occupy all workers in the default executor, delaying the release of unrelated private locks within the same process. This occurs under conditions involving enough simultaneous waits and workloads using lock paths influenced by other accounts, such as group-writable, non-sticky directories. The issue is fixed in version 4.3.0.
filelock is a Python library providing platform-independent file locking. Versions prior to 4.3.0 on Windows have a vulnerability where a local user with read access to the lock file can cause delays in nonblocking or short-timeout lock acquisitions. When using AsyncFileLock with run_in_executor set to false, this delay can block unrelated tasks on the event loop. The issue stems from Windows opportunistic locks (oplocks) and is resolved in version 4.3.0.
A resource allocation issue exists in tox-dev's filelock Python library prior to version 4.3.0 on POSIX systems. Specifically, if another user with write access to the parent directory of a SQLite lock database is present, the ReadWriteLock initialization and acquisition can exceed the requested timeout even when the lock is free. This can cause delays in asynchronous tasks using AsyncReadWriteLock. The issue is resolved in version 4.3.0.
CVE-2026-144336 is a vulnerability in the Python filelock library used by tox-dev. Versions prior to 4.3.0 are affected by an inefficient algorithmic complexity issue where loading the SQLite lock database schema can cause CPU consumption beyond the lock acquisition timeout if another local account can create or modify the database. This affects both ReadWriteLock and AsyncReadWriteLock implementations. The issue is resolved in version 4.3.0.
filelock is a platform-independent file lock for Python. Prior to 4.3.0, on POSIX, an AsyncReadWriteLock constructor failure could prevent a forked child from resetting unrelated locks, including locks in private directories. The process had to retain the failed construction and then fork. A local account able to populate an optional lock path could cause the initial failure. Overlapping holds were demonstrated only when the child reused an active SQLite lock before exec, an unsupported operation. This issue is fixed in version 4.3.0.
filelock, a Python library for platform-independent file locking, has a vulnerability (CVE-2026-144334) affecting versions prior to 4.3.0 on Windows. A local user with permission to create drive-root directories can manipulate the owner identity recorded by SoftFileLock and MarkerSoftFileLock. This can cause subsequent processes to misinterpret lock ownership, potentially leaving locks unavailable if the original lock holder process terminates. The issue is resolved in version 4.3.0.
A vulnerability in the Python filelock library (tox-dev project) prior to version 4.3.0 allows a local attacker with write access to a StrictSoftFileLock claims directory to cause excessive iteration in a crowded directory. This can delay nonblocking and timed lock acquisitions and increase memory usage, impacting availability of the shared lock. The issue is fixed in version 4.3.0.
A vulnerability in tox-dev's filelock Python library versions 3.30.0 through 4.2.0 allows incorrect permission assignment for critical resource directories on POSIX systems. The issue arises because StrictSoftFileLock and AsyncStrictSoftFileLock create coordination and claim directories without enforcing restrictive lock modes, potentially leaving them writable by other local users. This can enable unauthorized users to delete active lock claims or plant malformed claims, disrupting lock acquisition. The vulnerability is fixed in version 4.2.1.
A race condition vulnerability (CWE-363) exists in the tox-dev filelock Python package versions 3.30.0 through 4.2.0 on POSIX platforms. The issue allows a local user to exploit a timing window between directory validation and usage to swap in a symbolic link, potentially causing claim files to be created or stranded in unintended directories. This can lead to denial of service by causing lock acquisition timeouts or allow two processes to enter a critical section simultaneously. The vulnerability is fixed in version 4.2.1.
CVE-2026-112907 is an improper locking vulnerability in the tox-dev filelock Python library affecting versions from 3.22.0 up to but not including 4.2.1. On Windows, a local user with read access to an unheld lock marker can cause certain soft lock classes to wait indefinitely beyond timeout by preventing oplock breaks. This results in a denial of service by blocking lock acquisition calls, although mutual exclusion is maintained and no unauthorized file access occurs. The issue is fixed in version 4.2.1.
A TOCTOU race condition vulnerability exists in tox-dev's filelock Python package versions 3.20.4 through 4.2.0 on Windows. The issue involves the use of SQLite database files for locking, where an attacker with write access to a shared directory can place undeletable WAL or journal files that cause lock acquisition failures or unintended file deletions. This vulnerability requires a writable directory accessible by another local account and does not affect private directories. The flaw is fixed in version 4.2.1.
A vulnerability in the tox-dev filelock Python package versions 3.10.0 through 4.2.0 on Windows allows incorrect permission assignment. The mode argument is ignored, causing locks to inherit the parent directory's ACL instead of applying owner-only permissions. This can let other local accounts read or modify lock-related files or interfere with locking behavior. The issue does not affect UnixFileLock and is fixed in version 4.2.1.
CVE-2026-112941 is a time-of-check to time-of-use (TOCTOU) race condition vulnerability in the tox-dev filelock Python package. Versions from 4.1.0 up to but not including 4.2.1 are affected. The issue involves SoftReadWriteLock and AsyncSoftReadWriteLock caching a successful check of the lock tree path and resolving its names again later, allowing a local attacker to replace the lock tree after initial acquisition and redirect lock-record writes to directories writable by the lock user. This vulnerability is fixed in version 4.2.1.
A race condition vulnerability (CWE-363) exists in tox-dev's filelock Python package versions from 3.20.4 up to but not including 4.2.1. This flaw allows an attacker with rename access on POSIX systems to swap file names in a non-sticky parent directory, potentially causing overwrite or unlink operations on SQLite database files. Exploitation requires a writable adjacent hot journal file to overwrite content with attacker-chosen data. The issue is fixed in version 4.2.1.
filelock is a platform-independent file lock for Python. From 3.22.0 until 4.2.1, SoftFileLock can trust a forged process identifier in a marker that an attacker can modify but cannot remove, allowing an authorized contender such as another process of the holder's account or root to act as a confused deputy, remove the live marker, and admit another holder. This issue is fixed in version 4.2.1.
A TOCTOU race condition vulnerability exists in tox-dev's filelock Python package versions 4.1.0 through 4.2.0. The issue involves the ReadWriteLock removing a randomized .filelock-* private-hard-link directory during cleanup, which allows a local user with rename access in a non-sticky parent directory to interfere by observing or forging directory names, potentially causing unintended deletions. This vulnerability is fixed in version 4.2.1.