cvelo
P4 · InfoCVSS 2.5EPSS 0.2%

filelock: SoftReadWriteLock heartbeat overwrites victim-owned files after inode reuse

  • CVE-2026-144386
  • GHSA-x3f4-g3q6-f985
  • EUVD-2026-143602

Summary

The filelock Python library, before version 4.3.0, has a flaw in SoftReadWriteLock. Its heartbeat can overwrite the beginning of an unrelated file with holder-record data. Exploitation requires a shared directory where another account can rename entries, and a filesystem that reuses inode numbers. The overwrite was confirmed on ext4. The issue is fixed in version 4.3.0. The CVSS score is 2.5, and the vulnerability is not listed in the CISA known exploited vulnerabilities catalog.

AI summary · verify against the vendor advisory

Description

filelock is a platform-independent file lock for Python. Prior to 4.3.0, a SoftReadWriteLock heartbeat can overwrite the beginning of an unrelated file with holder-record data. This requires a shared directory where another account can rename entries and a filesystem that reuses inode numbers. The overwrite was confirmed on ext4. 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.