filelock
PyPI20 known CVEs affecting this package
Aggregated from OSV, GitHub Security Advisories, NVD, and vendor advisories. Each CVE links to its full detail page with vendor advisories, patches, fixed versions, and remediation guidance.
CVEs affecting filelockpage 1 of 1
- CVE-2025-68146MEDIUMCVSS 6.3EG 6.3fixed in 3.20.12025-12-16
vulnerable: 0.2.0 ... 3.9.1 (78 versions)
filelock is a platform-independent file lock for Python. In versions prior to 3.20.1, a Time-of-Check-Time-of-Use (TOCTOU) race condition allows local attackers to corrupt or truncate arbitrary user files through symlink attacks. The vulne…
- CVE-2026-112906MEDIUMCVSS 4.7EG 4.7fixed in 4.2.12026-10-20
vulnerable: 4.1.0, 4.1.1, 4.1.2, 4.2.0
filelock is a platform-independent file lock for Python. From 4.1.0 until 4.2.1, SoftFileLock versions from 4.1.0 can reuse a stale observation when an attacker pre-dates and removes its own marker, at least two lock-user processes are wai…
- CVE-2026-112907LOWCVSS 2.5EG 2.5fixed in 4.2.12026-10-23
vulnerable: 3.22.0 ... 4.2.0 (49 versions)
filelock is a platform-independent file lock for Python. From 3.22.0 until 4.2.1, soft lock classes on Windows read an existing marker with _read_lock_file and remove a stale marker through break_lock_file using pathname operations that wa…
- CVE-2026-112908MEDIUMCVSS 5.3EG 5.3fixed in 4.2.12026-10-28
vulnerable: 3.30.0 ... 4.2.0 (31 versions)
filelock is a platform-independent file lock for Python. From version 3.30.0 until version 4.2.1, StrictSoftFileLock and AsyncStrictSoftFileLock on POSIX systems create coordination and claim directories without applying the caller…
- CVE-2026-112909MEDIUMCVSS 6.1EG 6.1fixed in 4.2.12026-10-20
vulnerable: 0.2.0 ... 4.2.0 (134 versions)
filelock is a platform-independent file lock for Python. Prior to 4.2.1, UnixFileLock can truncate a regular file renamed onto the lock path when another local user has actual rename permission, or hard-linked there under a permissive hard…
- CVE-2026-112910MEDIUMCVSS 5.3EG 5.3fixed in 4.2.12026-10-28
vulnerable: 3.10.0 ... 4.2.0 (87 versions)
filelock is a platform-independent file lock for Python. From 3.10.0 until 4.2.1, filelock on Windows ignores the mode argument for WindowsFileLock files and the ReadWriteLock SQLite database. A lock created with mode=0o600 receives the pa…
- CVE-2026-112911MEDIUMCVSS 6.3EG 6.3fixed in 4.2.12026-10-20
vulnerable: 3.30.0 ... 4.2.0 (31 versions)
filelock is a platform-independent file lock for Python. From 3.30.0 until 4.2.1, StrictSoftFileLock versions from 3.30.0 and SoftReadWriteLock versions from 4.0.0 can adopt a protocol directory created first by another local user in a sha…
- CVE-2026-112912LOWCVSS 2.5EG 2.5fixed in 4.2.12026-10-20
vulnerable: 3.32.6 ... 4.2.0 (19 versions)
filelock is a platform-independent file lock for Python. From 3.32.6 until 4.2.1, SoftFileLock can follow a swapped symbolic link during the conditional os.access writability check for a node without its owner-write bit, allowing another l…
- CVE-2026-112913LOWCVSS 3.3EG 3.3fixed in 4.2.12026-10-23
vulnerable: 3.20.4 ... 4.2.0 (53 versions)
filelock is a platform-independent file lock for Python. From 3.20.4 until 4.2.1, ReadWriteLock and AsyncReadWriteLock on Windows use _connect to attach SQLite to the lock database by pathname, allowing another local account that can creat…
- CVE-2026-112914MEDIUMCVSS 5.3EG 5.3fixed in 4.2.12026-10-20
vulnerable: 4.1.0, 4.1.1, 4.1.2, 4.2.0
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…
- CVE-2026-112915MEDIUMCVSS 5.5EG 5.5fixed in 4.2.12026-10-20
vulnerable: 3.20.4 ... 4.2.0 (53 versions)
filelock is a platform-independent file lock for Python. From 3.20.4 until 4.2.1, ReadWriteLock can open a crafted SQLite lock database without bounding schema and query work, allowing another local user who can replace the database to mak…
- CVE-2026-112934MEDIUMCVSS 6.1EG 6.1fixed in 4.2.12026-10-20
vulnerable: 4.0.0 ... 4.2.0 (17 versions)
filelock is a platform-independent file lock for Python. From 4.0.0 until 4.2.1, SoftReadWriteLock refreshes holder records by name, allowing another local user with rename access to the lock directory to replace a record with a named pipe…
- CVE-2026-112935MEDIUMCVSS 4.7EG 4.7fixed in 4.2.12026-10-20
vulnerable: 3.22.0 ... 4.2.0 (49 versions)
filelock is a platform-independent file lock for Python. From 3.22.0 until 4.2.1, SoftFileLock can break a stale marker after an attacker frees its own marker following the stale read, an honest contender creates a live successor on the re…
- CVE-2026-112936MEDIUMCVSS 6.1EG 6.1fixed in 4.0.92026-10-20
vulnerable: 3.20.4 ... 4.0.8 (45 versions)
filelock is a platform-independent file lock for Python. From 3.20.4 until 4.0.9, ReadWriteLock and AsyncReadWriteLock versions from 3.20.4 resolve the lock path and pass it to SQLite without rejecting a final symbolic link, allowing anoth…
- CVE-2026-112937MEDIUMCVSS 6.1EG 6.1fixed in 4.2.12026-10-20
vulnerable: 4.1.0, 4.1.1, 4.1.2, 4.2.0
filelock is a platform-independent file lock for Python. From 4.1.0 until 4.2.1, ReadWriteLock can remove a randomized .filelock-* private-hard-link directory during cleanup, allowing another local user with rename access in a non-sticky p…
- CVE-2026-112938MEDIUMCVSS 5.8EG 5.8fixed in 4.2.12026-10-28
vulnerable: 3.30.0 ... 4.2.0 (31 versions)
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…
- CVE-2026-112939MEDIUMCVSS 4.7EG 4.7fixed in 4.2.12026-10-20
vulnerable: 3.22.0 ... 4.2.0 (49 versions)
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 anothe…
- CVE-2026-112940HIGHCVSS 7.1EG 7.1fixed in 4.2.12026-10-20
vulnerable: 3.20.4 ... 4.2.0 (53 versions)
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…
- CVE-2026-112941LOWCVSS 3.3EG 3.3fixed in 4.2.12026-10-20
vulnerable: 4.1.0, 4.1.1, 4.1.2, 4.2.0
filelock is a platform-independent file lock for Python. From 4.1.0 until 4.2.1, SoftReadWriteLock and AsyncSoftReadWriteLock cache a successful check of the <path>.rw lock tree and resolve its names again during later record operations, a…
- CVE-2026-22701MEDIUMCVSS 5.3EG 5.3fixed in 3.20.32026-01-10
vulnerable: 0.2.0 ... 3.9.1 (80 versions)
filelock is a platform-independent file lock for Python. Prior to version 3.20.3, a TOCTOU race condition vulnerability exists in the SoftFileLock implementation of the filelock package. An attacker with local filesystem access and permiss…
Check whether filelock is used in your infrastructure
EchelonGraph scans your cloud and SBOMs to map every package to your actual deployments. See blast radius for filelock CVEs against the assets you own.
Book a Demo →