Teire
Changes
Scan
Docs
Trust
← All changes
filelock (PyPI) · Teire
Changes
Scan
Docs
Trust
Sign in
Worker running
filelock
PyPI
latest
4.2.4
· 2026-10-19
pypi.org · all 138 versions
Security advisories
14
filelock: filelock: On Windows an oplock on a soft lock's marker holds SoftFileLock.acquire() past its timeout and blocks the stale break
fixed in 4.2.1
filelock: filelock: StrictSoftFileLock creates its claim directories without the lock mode, so another local user with a write bit on them can end a live hold
fixed in 4.2.1
filelock: filelock: UnixFileLock truncates and chmods any regular file another user renames or hard-links onto the lock path
fixed in 4.2.1
filelock: filelock: WindowsFileLock ignores mode: a 0o600 lock file and the ReadWriteLock database inherit the directory ACL
fixed in 4.2.1
filelock: filelock: StrictSoftFileLock and SoftReadWriteLock adopt a protocol directory another user created first, losing mutual exclusion
fixed in 4.2.1
filelock: filelock: ReadWriteLock on Windows acts on SQLite side files another local user places beside its database
fixed in 4.2.1
filelock: filelock ReadWriteLock: a crafted lock database makes every acquire stall or hang regardless of timeout
fixed in 4.2.1
filelock: filelock: SoftFileLock stale-lock break removes a live lock file on a reused inode number and admits two holders
fixed in 4.2.1
filelock: filelock: ReadWriteLock follows a symlink at the lock path into SQLite
fixed in 4.0.9
filelock: filelock: StrictSoftFileLock follows a symbolic link swapped in at <path>.filelock and creates claim files in a directory another local user chooses
fixed in 4.2.1
filelock: filelock Time-of-Check-Time-of-Use (TOCTOU) Symlink Vulnerability in SoftFileLock
fixed in 3.20.3
filelock: filelock: SoftFileLock removes a live holder's marker when another user forges the PID in a writable marker
fixed in 4.2.1
filelock: filelock ReadWriteLock: SQLite reopens the lock database by name, so a planted symlink or journal file makes the lock user's process overwrite or unlink its own files
fixed in 4.2.1
filelock: filelock has a TOCTOU race condition which allows symlink attacks during lock file creation
fixed in 3.20.1
Versions that change something
3.20.1
2025-12
fixes 1 advisory
3.20.3
2026-01
fixes 1 advisory
4.0.9
2026-10
fixes 1 advisory
4.2.1
2026-10
fixes 11 advisories