cvelo
P3 · MediumCVSS 4.7EPSS 0.3%

filelock: Failed async lock construction disables fork resets for other locks

  • CVE-2026-144335
  • GHSA-cx2x-xp53-fq3w
  • EUVD-2026-143661

Summary

The filelock Python library, before version 4.3.0, has a POSIX-specific flaw where an AsyncReadWriteLock constructor failure can prevent a forked child process from resetting unrelated locks, including locks in private directories. Exploitation requires the process to keep the failed construction and then fork. A local account able to populate an optional lock path could trigger the initial failure. Overlapping lock holds were only demonstrated when the child reused an active SQLite lock before exec, which is an unsupported operation. The CVSS score is 4.7, and the issue is fixed in version 4.3.0. It 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, on POSIX, an AsyncReadWriteLock constructor failure could prevent a forked child from resetting unrelated locks, including locks in private directories. The process had to retain the failed construction and then fork. A local account able to populate an optional lock path could cause the initial failure. Overlapping holds were demonstrated only when the child reused an active SQLite lock before exec, an unsupported operation. 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.