cvelo
P3 · MediumCVSS 4.4EPSS 0.3%

filelock: ReadWriteLock can remove unrelated empty directories

  • CVE-2026-144349
  • GHSA-jcf5-mpj4-xfg8
  • EUVD-2026-143590

Summary

CVE-2026-144349 affects the Python filelock package, a platform-independent file locking library. From version 4.2.1 until 4.3.0, on POSIX systems, the ReadWriteLock can remove empty directories from an unrelated directory owned by the locking account. Exploitation requires a shared parent directory without the sticky bit where another local account can rename directories. The confirmed impact is limited to empty directories. The issue is fixed in filelock 4.3.0, and the CVSS score is 4.4. It is not listed in CISA's known exploited vulnerabilities catalog.

AI summary · verify against the vendor advisory

Description

filelock is a platform-independent file lock for Python. From 4.2.1 until 4.3.0, on POSIX, ReadWriteLock can remove empty directories from an unrelated directory owned by the locking account. This requires a shared parent without the sticky bit where another local account can rename directories. The confirmed impact is confined to empty directories. This issue is fixed in version 4.3.0.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • tox-dev filelock

    Affected versionsFixed in
    >= 4.2.1, < 4.3.0none stated
  • filelockPyPI

    Affected versionsFixed in
    from 4.2.1 up to 4.2.12none stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.