cvelo
P4 · InfoCVSS 2.2EPSS 0.2%

filelock: SoftReadWriteLock admits overlapping writers after directory inode reuse

  • CVE-2026-144394
  • GHSA-fff3-xpx8-wvvv
  • EUVD-2026-143614

Summary

The filelock Python library, prior to version 4.3.0, has a flaw in SoftReadWriteLock on Linux. If the lock's protocol directory is removed while a lock instance remains alive, two processes can both hold a write lock at the same time. Exploitation requires another account that can replace directories in the shared location, plus filesystem reuse of a previously trusted inode number. The overlap was confirmed on ext4, and no compromise notification was produced. The issue is rated CVSS 2.2 and is not on the CISA known exploited list. Upgrading to filelock 4.3.0 resolves it.

AI summary · verify against the vendor advisory

Description

filelock is a platform-independent file lock for Python. Prior to 4.3.0, on Linux, two processes can both hold a SoftReadWriteLock write lock after its protocol directory is removed while a lock instance remains alive. This requires another account able to replace directories in the shared location and filesystem reuse of a previously trusted inode number. The overlap was confirmed on ext4, without a compromise notification. This issue is fixed in version 4.3.0.

Text from the CVE.org record.

Recommendation

Taken from the version ranges the sources state. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • tox-dev filelock

    Affected versionsFixed in
    < 4.3.0none stated
  • filelockPyPI

    Affected versionsFixed in
    before 4.3.04.3.0

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.